Saltstack Official Chrony Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

19 行
300B

  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