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

Dependency puppet/download_file causes conflicts With sub dependency puppetlabs/stdlib #26

Open
SiteDesignUSA opened this issue Apr 3, 2020 · 0 comments

Comments

@SiteDesignUSA
Copy link

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.

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

No branches or pull requests

1 participant