-
Notifications
You must be signed in to change notification settings - Fork 565
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
Unable to upgrade module when using "puppet module upgrade" #316
Comments
PR #317 created just in case. |
Do you have a stacktrace or error for this? I'm not sure I entirely understand why this is causing problems |
Initially this is the error that I'm receiving:
This issue happens because I've installed the module puppetlabs-apt before rtyler-jenkins so the system is installing the latest version at this moment of puppetlabs-apt (v2.0.1) and then doesn't permit to upgrade the actual version of rtyler-jenkins (v1.3.0) The others modules are still within the dependencies version range, the only one that doesn't fit the actual version is the dependency for puppetlabs-apt. |
@rtyler I've implemented my configuration using librarian-puppet to control the dependencies better in our installation. Based on this, the version installed of puppetlabs-apt will be v1.8.0. In that way there's no problem to use the module. In other hand if you give me the green light I would like to propose the code for using the latest version of puppetlabs-apt as it seems a bit more reliable on handling the keys/sources from packages. |
We're also experiencing this issue; the symptoms are slightly different - when we've got other modules in the Puppetfile which reference |
@madAndroid I've verified the code and the initial issue is related to how the In my previous comment I've asked @rtyler if it's ok to propose the adaptation of the necessary classes in order to be able to use |
@madAndroid I've checked @jhoblitt PR and seems a very good change. Additionally to this I saw the comment in the conversation about the upgrade of |
Puppetlabs-apt Module was updated to be backward compatible for declaration of Sources . Closing this one as is not relevant anymore (Unless someone wants to change the format to the version 2.x) |
If for some reason someone has the latest version of puppetlabs-apt installed, then the dependencies of the latest version of this module cannot be installed at the moment.
Seems that on the updated metadata.json the version related to the puppetlabs-apt module will need to be updated to at least the actual version 2.0.1.
Is there any reason that the version 2.0.1 of puppetlabs-apt may not fit the requirements or affect the actual deployment of version 1.4.0?
My actual use case is that I'm installing a new orchestration system that is being managed from Puppet and I cannot use the latest version of this module.
The text was updated successfully, but these errors were encountered: