SuperTux88's Diaspora Saltstack 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
368B

  1. # frozen_string_literal: true
  2. control 'diaspora services' do
  3. impact 0.5
  4. title 'should be running and enabled'
  5. services = ['diaspora-sidekiq.service', 'diaspora-web.service']
  6. services.each do |service_name|
  7. describe service(service_name) do
  8. it { should be_installed }
  9. it { should be_enabled }
  10. it { should be_running }
  11. end
  12. end
  13. end