-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Prevent "vault" service to be restarted on update #52
Conversation
Would it not make more sense to have this a configurable option instead of forcing users one way or the other? |
Good idea, @legal90. But I also agree with @davidsayers. Would you mind adding an attribute for toggling this? It would give power users the flexibility to come up with their own restart methodology.
Also, the Vault service will still restart if one of the config options are changed. Perhaps wrap this property in a conditional with the above attribute? https://github.com/johnbellone/vault-cookbook/blob/master/recipes/default.rb#L18 |
Actually, I think this can be overridden with the correct poise-service attribute defined:
@coderanger, is that right? |
There is |
Ah, good catch! Not enough ☕. |
This makes sense to me. |
I would probably use the
All providers should support that option to make the restart action a no-op. |
And yes, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Vault server restart is even more harmful than consul restart (related: sous-chefs/consul#288).
Vault server restart means that Vault becomes sealed and stops process incoming requests. So, regardless of the reason, it should be done only by an operator.