Skip to content
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

Fix CentOS 9 support in metadata.json #893

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this mean 7.13.0 to 7.13.0, making it a noop? I guess this is a bit of an exception because there is no older release, but should we then skip the whole test instead at line 3?

else
'7.6.0'
end
to_version = '7.13.0'
else
raise 'Unsupported Puppet collection'
Expand Down
Loading