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

16 行
292B

  1. # Overide by Platform
  2. service_name = 'sshd'
  3. if platform[:family] == 'debian'
  4. service_name = 'ssh'
  5. end
  6. control 'openssh service' do
  7. impact 0.5
  8. title 'should be running and enabled'
  9. describe service(service_name) do
  10. it { should be_enabled }
  11. it { should be_running }
  12. end
  13. end