-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Send SIGHUP to consul agent when new checks/services are detected #43
Comments
What? It should be restarting the service after any config change: |
Interesting. The only relevant output I'm seeing after configuration change is as follows (Debian 7.6 nodes):
Actually, this info appears with each puppet run, regardless of whether configuration changed or not. Possibly my implementation is wrong? |
Yea, it sounds like puppet is continuously trying to start consul. Is it: |
@dannykansas can you confirm if this is still an issue? Is consul even running like normal? |
In https://github.com/solarkennedy/puppet-consul/blob/master/manifests/service.pp#L90 there is a Notify on Class[consul::run_service]. Shouldn`t that rather be a Notify on Service[consul]? |
Notifying the entire class is ok, it should in-turn notify any resources inside, including Service[consul] |
Fixed #152 |
Currently, when a new check or service is added, Consul does not load the check/service unless a "consul reload" is manually run on the node (or SIGHUP sent to the agent process).
Could we start a discussion on the appropriate times to trigger a reload of configuration files (i.e. new check added)?
The text was updated successfully, but these errors were encountered: