Skip to content

Commit 2919a24

Browse files
committed
Fix CentOS 9 support in metadata.json
1 parent 220e18f commit 2919a24

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"operatingsystemrelease": [
5353
"7",
5454
"8",
55-
"8"
55+
"9"
5656
]
5757
},
5858
{

spec/acceptance/puppetserver_upgrade_spec.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616

1717
case ENV['BEAKER_PUPPET_COLLECTION']
1818
when 'puppet7'
19-
from_version = '7.6.0'
19+
from_version =
20+
if fact('os.family') == 'RedHat' && fact('os.release.major') == '9'
21+
'7.13.0'
22+
else
23+
'7.6.0'
24+
end
2025
to_version = '7.13.0'
2126
else
2227
raise 'Unsupported Puppet collection'

0 commit comments

Comments
 (0)