-
Notifications
You must be signed in to change notification settings - Fork 209
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
puppet module tool needs to use '--force' on PE >= 3.2.1 #203
base: master
Are you sure you want to change the base?
Conversation
For what I see here http://docs.puppetlabs.com/references/3.4.3/man/module.html --ignore-dependencies is still needed as force will install the dependencies, isn't it? |
The Note that the --ignore-requirements flag is an addition, and so won't work with older versions of Puppet. The behavior is demonstrated below with each flag.
|
@reidmv yes, --ignore-dependencies is not enough, but is it still needed? firewall is not a good example as it does not have dependencies Give it a try with the mysql module to see if dependency stdlib is installed (clean tmp between calls)
|
I have confirmed that this will definitely work with --force and co-exists with --ignore-dependencies and also replaces it (only the first of your four examples get stdlib installed, the rest successfully ignore all the things requested). I do, however, note that code paths have changed sufficiently to make my original pull request useless. Would you like me to kill and resubmit or is there enough data to move forward with the change yourself? |
Please rebase and you can update the branch with "git push -f" and will update the issue |
Per #190, in order to get around a 'supported modules' issue where the puppet module tool will fail install if you attempt to use a module 'supported' by that particular version of PE (such as using a newer stdlib, a common practice), the invocation needs to use '--force' instead of '--ignore-dependencies'.