Saltstack Official OpenSSH 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.

16 lines
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