Skip to content

Commit

Permalink
Arch Linux: also manage chrony-wait.service
Browse files Browse the repository at this point in the history
https://archlinux.org/packages/community/x86_64/chrony/ proofes that the
package contains usr/lib/systemd/system/chrony-wait.service.
  • Loading branch information
bastelfreak committed Mar 7, 2022
1 parent 280e076 commit 749e088
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/Archlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ chrony::config_keys: /etc/chrony.keys
chrony::config: /etc/chrony.conf
chrony::dumpdir: /var/lib/chrony
chrony::rtconutc: true
chrony::wait_manage: true
6 changes: 3 additions & 3 deletions spec/classes/chrony_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
end

case facts[:os]['family']
when 'RedHat', 'Suse'
when 'RedHat', 'Suse', 'Archlinux'
context 'using defaults' do
it do
is_expected.to contain_service('chrony-wait.service').with(
Expand Down Expand Up @@ -511,7 +511,7 @@
end

case facts[:os]['family']
when 'RedHat', 'Suse'
when 'RedHat', 'Suse', 'Archlinux'
it do
is_expected.to contain_service('chrony-wait.service').with(
ensure: 'stopped',
Expand All @@ -531,7 +531,7 @@
end

case facts[:os]['family']
when 'RedHat', 'Suse'
when 'RedHat', 'Suse', 'Archlinux'
it do
is_expected.to contain_service('chrony-wait.service').with(
ensure: 'running',
Expand Down

0 comments on commit 749e088

Please sign in to comment.