-
Notifications
You must be signed in to change notification settings - Fork 420
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
Restart salt-minion *after* end of run #136
Comments
Not as far as I'm aware. Might be a good thing to check for in pillar whether someone has reset set to true/false and act accordingly. |
|
Its easier to use listen_in and a service.running with a restart. and it translates to all Os’es.
|
I understand. At least on Debian Jessie, I have a bug : at the end of highstate run if salt-minion is restarted, salt-minion does not return any information to salt-master, so I only get a blank result. |
@puneetk I have tested the listen_in part, and strangely on my arch box, it works
But on my debian jessie box, it doesn't...
This is the change in salt/minion.sls:
|
Yup listen_in works on ubuntu, debian too :)
|
@aboe76 This is exactly why I had to use "at" in this formula. |
We have additional issue with simple minion restart via watch or listen_to. |
Add restart minion via at (fixes #136)
Hi all,
Is there a reason why something like : http://docs.saltstack.com/en/latest/faq.html#what-is-the-best-way-to-restart-a-salt-daemon-using-salt is not used in this formula ?
I changed salt-formula (locally), it's a huge win : I can now spawn a new salt minion (with salt-cloud) in one highstate run, without interruption.
salt/minion.sls :
I didn't manage "atd" since it's on by default on Debian, but it's definitely doable.
The text was updated successfully, but these errors were encountered: