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

parameterize restart on change for the main config #169

Merged
merged 1 commit into from
Aug 15, 2015

Conversation

aj-jester
Copy link

This will allow us to restart the agent conditionally when $config_hash changes. This does not affect reloads when service, check and watch configs change.

It defaults to the current behavior of restarting on config change.

In my experience its never a good idea for puppet to restart consul server. More often than not you will run into a situation where the cluster doesn't know who the leader is. Its best to restart the agent on server in a more controlled fashion.

@aj-jester aj-jester force-pushed the AJ-restart-on-change branch 2 times, most recently from d725362 to db47d25 Compare August 14, 2015 14:37
@solarkennedy
Copy link
Contributor

Thanks!

solarkennedy added a commit that referenced this pull request Aug 15, 2015
parameterize restart on change for the main config
@solarkennedy solarkennedy merged commit 525a878 into master Aug 15, 2015
@aj-jester aj-jester deleted the AJ-restart-on-change branch August 23, 2015 01:29
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