-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Declare minimum Puppet version to be 6.24.0 #2342
Conversation
In a565ea9 the commands are passed as an array, but this feature was only introduced in Puppet 6.24.0[1]. This raises the minimum version to match, since it's no longer possible to use the module on anything older. [1]: https://puppet.com/docs/puppet/6/release_notes_puppet.html#enhancements_puppet_x-7-9-0-PUP-5704 Fixes: a565ea9
|
I could not figure out if puppet minimal requirement declared in the metadata file is for the version of puppetserver or the puppetclient (anyone knows ?). |
|
Agree on the change and would like it merged in, however will need to wait as there is still some discussion on our side and other work that we would want in alongside this as part of a major release. |
I'd say at least the agent since it's perfectly valid to apply a module locally without a Puppetserver present. Additionally, it relies on types and providers supplied by the agent. As a last point, it has been a recommendation that Puppetserver >= agent so this does imply the server needs to be reasonably new. However, AFAIK nothing formally checks this requirement programmatically. This is why Kafo (the library driving Foreman's installer) implements it
I disagree this is breaking. It is just being explicit what was already implicit. If you think this is breaking, we should revert a565ea9 now and reintroduce it in a new major version. |
|
FWIW I don't want to revert changes that are already in main and released. I'd much rather us fix forward. |
|
I'm not sure that reverting is an option at this point as this is something that has been implemented across several modules, with multiple of them having undergone a release since. |
|
Yeah, we'll go ahead with a non major release. |
|
@ekohl Thanks for putting up the PR |
In a565ea9 the commands are passed as an array, but this feature was only introduced in Puppet 6.24.0. This raises the minimum version to match, since it's no longer possible to use the module on anything older.
Fixes #2328