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

make it possible to control which phase package upgrades occur #28

Merged
merged 1 commit into from
Sep 26, 2015

Conversation

jhohertz
Copy link
Contributor

Hello, a feature for your consideration.

This one adds a new attribute to additionally control package upgrades. In the current cookbook, this happens at compile time only. This is not always the most desirable thing to happen. (Mostly finding difficulties when trying to run cookbooks that update kernel modules via dkms, which really like the currently running kernel to also be the most recent currently installed)

This leaves the current behaviour as the default, but provides the option of moving upgrade to occur when the include happens, which gives greater control over behaviour when making wrapper cookbooks.

I have not included a test case yet, partly due to the difficulties in testing the nature of this, and partly because the package upgrade path is not a part of the current suite of tests.

Let me know if you'd like to see anything revised in the pull request and I'll make it so.

flaccid added a commit that referenced this pull request Sep 26, 2015
make it possible to control which phase package upgrades occur
@flaccid flaccid merged commit 9b92cf2 into xhost-cookbooks:master Sep 26, 2015
@flaccid
Copy link
Contributor

flaccid commented Sep 26, 2015

Perfect! Thanks @jhohertz.

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