fix 'consul reload' on custom rpc port#179
Conversation
manifests/reload_service.pp
Outdated
There was a problem hiding this comment.
can we just do this as part of the command?
command => "consul reload -rpc-addr=${consul::rpc_addr}:${consul::rpc_port}",
|
@ericpfisher pointed out that, if we used the environment variable rather than the flag, we could probably make the init scripts cleaner. |
|
@mdelagrange Can we add a test for the Also it would be awesome, but not required, if we can add a test for the
Hmmm perhaps but I prefer if we are explicit with the flag since this module is used across various systems and I don't want something to fail because of an env var issue 😕 |
|
OK |
|
All set. |
|
@mdelagrange this looks great 👍 🚄 LGTM |
|
Thanks! |
fix 'consul reload' on custom rpc port
Similar to #173.