diff --git a/data/Archlinux.yaml b/data/Archlinux.yaml index 11ed31a..b8692a7 100644 --- a/data/Archlinux.yaml +++ b/data/Archlinux.yaml @@ -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 diff --git a/spec/classes/chrony_spec.rb b/spec/classes/chrony_spec.rb index bb8201b..8c1cc7f 100644 --- a/spec/classes/chrony_spec.rb +++ b/spec/classes/chrony_spec.rb @@ -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( @@ -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', @@ -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',