Skip to content

Commit

Permalink
Fix CentOS 9 support in metadata.json
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 3, 2023
1 parent 220e18f commit c93b6a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Expand Up @@ -52,7 +52,7 @@
"operatingsystemrelease": [
"7",
"8",
"8"
"9"
]
},
{
Expand Down
7 changes: 6 additions & 1 deletion spec/acceptance/puppetserver_upgrade_spec.rb
Expand Up @@ -16,7 +16,12 @@

case ENV['BEAKER_PUPPET_COLLECTION']
when 'puppet7'
from_version = '7.6.0'
from_version =
if fact('os.family') == 'RedHat' && fact('os.release.major') == '9'
'7.13.0'
else
'7.6.0'
end
to_version = '7.13.0'
else
raise 'Unsupported Puppet collection'
Expand Down

0 comments on commit c93b6a1

Please sign in to comment.