-
Notifications
You must be signed in to change notification settings - Fork 29
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
adds notifies :reconfigure to supermarket chef_ingredient #32
adds notifies :reconfigure to supermarket chef_ingredient #32
Conversation
LGTM |
hey @jeremymv2 does this adequately cover the upgrade case? |
We do the
I am wary of declaring that |
If everyone needs to put the same code in their wrapper cookbook, then we're doing something wrong. How can we make this workable for everyone? |
The example above doesn't work because of the way the resource is named in the library of the supermarket-omnibus-cookbook. The resource name is actually Referencing it from the recipe by I've tested this in my wrapper with success:
I agree with @irvingpop. I think we either need to document the commands required for an upgrade or provide a recipe that everyone can consume. |
Yea. The notifies reconfigure and action upgrade steps in a wrapper broke when we created the Some options:
Automatically wiring that |
Closing in favor of #35 (if this is in error, feel free to re-open) |
This is an attempt to address the observation that when
node['supermarket_omnibus']['package_version']
changes, areconfigure
is NOT run, leaving the supermarket instance in a faulted state. This change has been tested as such:package_version
does not change -> converge does not change anythingpackage_version
changes, -> converge installs new package version and then runsreconfigure