Skip to content

Commit

Permalink
Arch Linux: Fix acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Mar 7, 2022
1 parent 51f4169 commit 280e076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class { 'chrony': }
it { is_expected.to be_installed }
end

if fact('os.family') == 'RedHat'
if %w[RedHat Archlinux].include?(fact('os.family'))
describe service('chronyd') do
it { is_expected.to be_enabled }
it { is_expected.to be_running }
Expand Down Expand Up @@ -53,7 +53,7 @@ class { 'chrony':
apply_manifest(pp, catch_changes: true)
end

if fact('os.family') == 'RedHat'
if %w[RedHat Archlinux].include?(fact('os.family'))
describe service('chronyd') do
it { is_expected.to be_enabled }
it { is_expected.to be_running }
Expand Down

0 comments on commit 280e076

Please sign in to comment.