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

Relax version constraint for puppetlabs-stdlib #220

Closed
wants to merge 1 commit into from

Conversation

mj
Copy link
Contributor

@mj mj commented Oct 9, 2023

Pull Request (PR) description

This PR relaxes the version constraint for puppetlabs-stdlib to >= 8.1.0 so that it is easier to use the module in Puppet environments with modules that explicitly depend on < 9.

This Pull Request (PR) fixes the following issues

Fixes #219

@smortex
Copy link
Member

smortex commented Oct 9, 2023

The dependency was bumped in #207 where we use stdlib::to_toml. stdlib::to_toml replace to_toml available in older versions of stdlib, but this old function is deprecated and raise an error when called on Puppet 8 with the default configuration.

I would recommend sticking to an older version of the module it you are blocked by some modules that do not support Puppet 8 / recent stdlib yet, and rather push these modules to be updated.

@bastelfreak
Copy link
Member

IMO the correct way is to update older modules to support newer stdlib version instead. And as @smortex said, we cannot downgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overly strict version constraint on puppetlabs-stdlib
3 participants