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.

18 lines
327B

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