Skip to content

Commit

Permalink
Update spec/classes/init_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Evgeni Golov <[email protected]>
  • Loading branch information
jcpunk and evgeni authored Jun 12, 2024
1 parent c9aa96e commit 5b69304
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 @@ -47,7 +47,7 @@
it { is_expected.not_to contain_package('systemd-networkd') }
end

if (facts[:os]['family'] == 'RedHat' && facts[:os]['release']['major'] != 7) || (facts[:os]['name'] == 'Debian' && facts[:os]['release']['major'] == '12')
if (facts[:os]['family'] == 'RedHat' && facts[:os]['release']['major'] != '8') || (facts[:os]['name'] == 'Debian' && facts[:os]['release']['major'] == '12')
it { is_expected.to contain_package('systemd-resolved') }
else
it { is_expected.not_to contain_package('systemd-resolved') }
Expand Down

0 comments on commit 5b69304

Please sign in to comment.