Skip to content

Commit

Permalink
replace legacy fact
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Aug 31, 2024
1 parent dc27360 commit d9ef7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/drbd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
it_behaves_like 'drbd shared example'

it do
if facts[:osfamily] == 'Debian'
if facts[:os]['family'] == 'Debian'
is_expected.to contain_package('drbd').with_name('drbd-utils')
else
is_expected.to contain_package('drbd').with_name('drbd8-utils')
Expand Down

0 comments on commit d9ef7c2

Please sign in to comment.