Skip to content

Commit

Permalink
Clean up legacy fact usage
Browse files Browse the repository at this point in the history
  • Loading branch information
silug committed Jul 3, 2024
1 parent cd252e3 commit e644f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@

context 'with default parameters' do
it { is_expected.to create_class('aide') }
if os_facts[:operatingsystemmajrelease] < '8'
if os_facts[:os][:release][:major] < '8'
it { is_expected.to contain_concat__fragment('aide.conf').with_content(<<~EOM
@@define DBDIR /var/lib/aide
@@define LOGDIR /var/log/aide
Expand Down

0 comments on commit e644f4e

Please sign in to comment.