-
Notifications
You must be signed in to change notification settings - Fork 459
(CAT-2345) Prepare module for Puppetcore / Drop Support for Puppet 7 #1265
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
base: main
Are you sure you want to change the base?
Conversation
ee18230
to
14ee288
Compare
Waiting on fixes to litmusimages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR prepares the module for Puppetcore by removing support for Puppet 7 and updating dependencies to target Puppet 8+. The changes focus on updating test configurations and build tooling to align with newer Puppet standards.
- Removes Puppet 7 support by updating minimum version requirement from 7.0.0 to 8.0.0
- Updates test configurations to use Debian 12 instead of Debian 10 for primary testing
- Modernizes development dependencies and Ruby version targeting
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
metadata.json | Updates Puppet version requirement and PDK template references |
spec/spec_helper_local.rb | Removes Debian 10 shared context and adds Debian 12 context |
spec/unit/classes/firewall_spec.rb | Updates test contexts from Debian 10 to Debian 12 |
spec/unit/classes/firewall_linux_debian_spec.rb | Updates all test contexts from Debian 10/11 to Debian 11/12 |
spec/unit/puppet/provider/firewall/firewall_public_spec.rb | Fixes regex syntax in test expectation |
Gemfile | Updates gem versions and adds Puppetcore authentication support |
Rakefile | Adds PuppetLint configuration settings |
.rubocop.yml | Updates target Ruby version from 2.6 to 3.1 |
.rubocop_todo.yml | Removes resolved Rubocop offenses |
.puppet-lint.rc | Adds multiple lint check configurations |
Closing and reopening to rekick tests. |
Debian 10 facts are no longer included within facterdb, as we do not test all fact versions I feel Debian 12 is a suitable alternative.
e81a116
to
36a159a
Compare
Summary
This PR prepares the module for Puppetcore by removing support for Puppet 7 and updating dependencies to target Puppet 8+. The changes focus on updating test configurations and build tooling to align with newer Puppet standards.
Checklist
puppet apply
)