-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for https connection #102
Conversation
@@ -17,6 +17,7 @@ class Riemann::Tools::Rabbitmq | |||
opt :monitor_pass, 'RabbitMQ monitoring user password', type: :string | |||
opt :monitor_port, 'RabbitMQ monitoring port', type: :int, default: 15672 | |||
opt :monitor_host, 'RabbitMQ monitoring host', type: :string, default: "localhost" | |||
opt :monitor_ssl, 'RabbitMQ ssl', type: :string, default: "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type :bool
, perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might actually call this :monitor_tls
since it's TLS, not SSL, right? Or maybe have it be a string but call it :protocol
?, and have values be http
or https
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, a protocol string might be easiest but too verbose. I it is a string, why not expose "url" to provide custom schemes overriding the rest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. Let's just go for a boolean then and I'll be happy to merge. :)
Done. |
Terrific, thanks so much @peterneubauer! Released as a part of riemann-tools 0.2.4, available now. :) |
Adding support for https connection
Scratch that, 0.2.5, sorry. :) |
Awesome, thanks for the fast merge @aphyr ! |
solves #101