Saltstack Official Chrony Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

services_spec.rb 300B

123456789101112131415161718
  1. # Overide by OS
  2. service_name =
  3. case os[:name]
  4. when 'debian', 'ubuntu'
  5. 'chrony'
  6. else
  7. 'chronyd'
  8. end
  9. control 'Chron service' do
  10. impact 0.5
  11. title 'should be running and enabled'
  12. describe service(service_name) do
  13. it { should be_enabled }
  14. it { should be_running }
  15. end
  16. end