Skip to content

Commit

Permalink
Need to remove Ruby 3.1 DNF module on EL9 for OnDemand 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Feb 7, 2024
1 parent e92c0ba commit d429ef8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@
# EL9 only has these two versions at this time
if $repo_release == '3.0' and "${osfamily}-${osmajor}" == 'RedHat-9' {
$nodejs = 'absent'
$ruby = '3.1'
$ruby = 'absent'
} elsif $repo_release == '3.0' {
$nodejs = '14'
$ruby = '3.0'
Expand Down
2 changes: 1 addition & 1 deletion spec/shared_examples/repo_rpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

if facts[:os]['release']['major'].to_s == '9'
it { is_expected.to contain_package('nodejs').with_ensure('absent') }
it { is_expected.to contain_package('ruby').with_ensure('3.1') }
it { is_expected.to contain_package('ruby').with_ensure('absent') }
else
it { is_expected.to contain_package('nodejs').with_ensure('14') }
it { is_expected.to contain_package('ruby').with_ensure('3.0') }
Expand Down

0 comments on commit d429ef8

Please sign in to comment.