Skip to content

Conversation

david22swan
Copy link
Member

@david22swan david22swan commented Jun 20, 2025

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.

  • 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

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@david22swan
Copy link
Member Author

Waiting on fixes to litmusimages

@david22swan david22swan requested a review from Copilot July 16, 2025 13:38
Copy link

@Copilot Copilot AI left a 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

@david22swan david22swan changed the title (CAT-2345) Prepare module for Puppetcore (CAT-2345) Prepare module for Puppetcore / Drop Support for Puppet 7 Jul 23, 2025
@pmcmaw
Copy link
Contributor

pmcmaw commented Aug 6, 2025

Closing and reopening to rekick tests.

@pmcmaw pmcmaw closed this Aug 6, 2025
@pmcmaw pmcmaw reopened this Aug 6, 2025
@pmcmaw pmcmaw closed this Aug 7, 2025
@pmcmaw pmcmaw reopened this Aug 7, 2025
@david22swan david22swan force-pushed the CAT-2345 branch 4 times, most recently from e81a116 to 36a159a Compare August 20, 2025 13:28
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.

2 participants