-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6
- Ruby: 2
- Distribution: CentOS 7
- Module version: 2.4.2
How to reproduce (e.g Puppet code you use)
Install module with almost any other modern module that calls for puppetlabs/stdlib <6.0.0
What are you seeing
Conflict between puppetlabs-stdlib versions.
Details
Puppetlabs/accounts calls for this version of stdlib, (< 7.0.0, >= 5.0.0) <(puppetlabs/accounts)> and puppet/download_file calls for puppetlabs-stdlib version, (< 5.0.0, >= 4.6.0) <(puppet/download_file)>
Outcome
So the modules don't install.
What behaviour did you expect instead
Modules would install.
Any additional information you'd like to impart
This is happening because your module is calling for puppet/download_file with a version <3.0.0 which is version 2.1.0 which has dependencies on puppetlabs-stdlib version, (< 5.0.0, >= 4.6.0) <(puppet/download_file)
If you could raise the dependency to <4.0.0 for puppet/download_file then it would depend on puppetlabs/stdlib (>= 4.13.1 < 6.0.0) and the problem would be fixed.
It appears there may be some work to be done. I haven't tracked everything down but here is the change that breaks puppet/download_file from version 2 to 3.
Changelog of puppet/download_file
I've looked at the Changelog of puppet/download_file and there is this:
Breaking changes: Replace validate_* calls with datatypes fsalum#58 (bastelfreak)
You can go to page with changed files for this commit here.
Conclusion
If you could let us know whether you can fix this or not it would be appreciated.
Thanks.