(MODULES-11704) Add Puppet 9 support#630
Open
imaqsood wants to merge 1 commit into
Open
Conversation
Widen the puppet requirement to < 10.0.0 and refresh supported OSes (drop EOL/no-agent platforms; add RedHat 10 and Debian 13 where applicable). Gate the newer lint stack (puppet-lint 5.x) behind the Puppet 9 (8.99.x) stream since puppet-lint 4.x crashes on Ruby 3.4+, resolve Puppet 9 prerelease gems from PUPPET_GEM_SOURCE, and disable strict_indent (its expected indentation differs incompatibly between the 7/8 and 9 lint lanes). Point the Spec workflow at the Puppet 9 gem-source branch (installing libcurl headers for the patron native extension) and exclude ubuntu-20.04 from the Puppet 9 acceptance lane only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Puppet 9 support to
puppetlabs-java, mirroring the completed work inpuppetlabs-motd/inifile/apache.Changes
>= 8.0.0 < 10.0.0. Pruned EOL / no-agent platforms and refreshed the supported OS list:puppet9_streamflag; replaced the earlier partialif puppet_version...8.99|9puppet/facter block with the canonical one (facter now['>= 4.11', ...]) resolving Puppet 9 prerelease gems fromPUPPET_GEM_SOURCE(falling back to puppetcore when empty). Gated the newer lint stack behind the Puppet 9 (8.99.x) stream:voxpupuli-puppet-lint-plugins~> 7.0,puppetlabs_spec_helperfrom a git branch, andpuppet_litmusfrom a git branch whenPUPPET_FORGE_TOKENis set (released~> 2.0fallback otherwise). puppet-lint 4.x crashes on Ruby 3.4+, so 7/8 keep the released versions.strict_indent(its expected indentation differs incompatibly between the 7/8 and 9 lint lanes).cat-github-actions ...module_ci.yml@MODULES-11700-puppet9-gem-source, installslibcurl4-openssl-dev(patron native extension), and inherits secrets. Acceptanceflagsnow exclude ubuntu-20.04 from the Puppet 9 lane only (--collection-platform-exclude 9:ubuntu-20.04).trailing_commacheck (Puppet 9 lane); no behaviour change.Temporary branch dependencies
puppetlabs_spec_helper→MODULES-11700-allow-puppet-lint-5(allows puppet-lint 5.x)puppet_litmus→MODULES-11700-collection-platform-exclude(adds--collection-platform-excludetomatrix_from_metadata_v3)cat-github-actions→@MODULES-11700-puppet9-gem-sourceLocal verification
rake lintexit 0; unit specs 195 examples, 0 failures.rake lintexit 0.https://perforce.atlassian.net/browse/MODULES-11704