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

module incorrectly states compatibility with stdlib v6 #366

Closed
vchepkov opened this issue Jun 26, 2023 · 1 comment · Fixed by #367
Closed

module incorrectly states compatibility with stdlib v6 #366

vchepkov opened this issue Jun 26, 2023 · 1 comment · Fixed by #367

Comments

@vchepkov
Copy link
Contributor

vchepkov commented Jun 26, 2023

The module utilizes function stdlib::to_json_pretty, which is only available in stdlib v9

When bolt module install tries to resolve the dependencies, due to requirement of puppetlabs/inifile < v6, which is not compatible with stdlib 9, it install version 8.6 of stdlib and plan fails

@vchepkov vchepkov added the bug label Jun 26, 2023
@CoMfUcIoS CoMfUcIoS linked a pull request Jun 27, 2023 that will close this issue
@bastelfreak
Copy link
Collaborator

@CoMfUcIoS at vox pupuli, we install all modules from the metadata.json during accenptance tests with puppet module install. That will fail if the version constraints cannot be met. As an alternative we've also a rake task to check for new major versions that aren't yet supported: https://github.com/ekohl/metadata_json_deps

Maybe that helps you as well.

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 a pull request may close this issue.

2 participants