From 23db502fd94381da4c3aeca1c5fa01f61c14097a Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 18 Jun 2024 18:20:38 +1000 Subject: [PATCH] Check for os major --- spec/acceptance/observium_install_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/observium_install_spec.rb b/spec/acceptance/observium_install_spec.rb index cc083af..53f7128 100644 --- a/spec/acceptance/observium_install_spec.rb +++ b/spec/acceptance/observium_install_spec.rb @@ -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][:major] != '9' install_packge('crontabs') install_packge('curl') elsif os[:family] == 'ubuntu'