diff --git a/spec/classes/icinga_spec.rb b/spec/classes/icinga_spec.rb index 89d9106..bcefc07 100644 --- a/spec/classes/icinga_spec.rb +++ b/spec/classes/icinga_spec.rb @@ -22,7 +22,7 @@ it { is_expected.to compile } - case facts[:osfamily] + case facts[:os]['family'] when 'RedHat', 'Debian', 'Suse' context 'ca => true, this_zone => foo, zones => {}' do diff --git a/spec/classes/repos_spec.rb b/spec/classes/repos_spec.rb index 0541cec..ae86060 100644 --- a/spec/classes/repos_spec.rb +++ b/spec/classes/repos_spec.rb @@ -78,7 +78,7 @@ end end - case facts[:osfamily] + case facts[:os]['family'] when 'RedHat' context 'with manage_epel => false, manage_powertools => false' do let(:params) do