Saltstack Official Syslog-NG 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.

17 lines
297B

  1. syslogng_service =
  2. case platform[:name]
  3. when 'arch'
  4. 'syslog-ng@default.service'
  5. else
  6. 'syslog-ng'
  7. end
  8. control 'SyslogNG service' do
  9. title 'should be running and enabled'
  10. describe service(syslogng_service) do
  11. it { should be_enabled }
  12. it { should be_running }
  13. end
  14. end