Skip to content

Commit

Permalink
Check for rhel9
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed Jun 19, 2024
1 parent 0c98a4c commit db1e57a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/observium_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

describe 'Installation', if: ['centos', 'redhat', 'ubuntu'].include?(os[:family]) do
before(:all) do
if os[:family] == 'redhat'
if os[:family] == 'redhat' and os[:release] != 9
install_packge('crontabs')
install_packge('curl')
elsif os[:family] == 'ubuntu'
Expand All @@ -32,7 +32,7 @@ class { 'observium':
it { is_expected.to be_file }
it { is_expected.to contain "$config['install_dir'] = \"/opt/observium\"" }
it { is_expected.to contain "$config['db_host'] = 'localhost';" }
it { is_expected.to contain os[:release] }
# it { is_expected.to contain os[:release] }
end

describe port(80) do
Expand Down

0 comments on commit db1e57a

Please sign in to comment.