Skip to content
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

When reloading consul, use 127.0.0.1 as rpc_addr when rpc_addr was set to 0.0.0.0 #221

Merged
merged 2 commits into from
Jan 28, 2016

Conversation

danielbenzvi
Copy link
Contributor

Solves #220

# Make sure we don't try to connect to 0.0.0.0, use 127.0.0.1 instead
# This can happen if the consul agent RPC port is bound to 0.0.0.0
if $consul::rpc_addr == '0.0.0.0' {
$rpc_addr = '127.0.0.1'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clean up the indentation here?

@solarkennedy
Copy link
Contributor

Just iterate a bit till the tests pass
https://travis-ci.org/solarkennedy/puppet-consul/jobs/104931189

@danielbenzvi
Copy link
Contributor Author

Done

@solarkennedy
Copy link
Contributor

Thanks!

solarkennedy added a commit that referenced this pull request Jan 28, 2016
When reloading consul, use 127.0.0.1 as rpc_addr when rpc_addr was set to 0.0.0.0
@solarkennedy solarkennedy merged commit 6e13ec3 into voxpupuli:master Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants