apache-formula/test/integration/modules/controls/services_spec.rb
2020-07-18 13:23:58 -03:00

16 lines
313 B
Ruby

# frozen_string_literal: true
# Overide by OS
service_name = 'apache2'
service_name = 'httpd' if (os[:name] == 'centos')
control 'apache service' do
impact 0.5
title 'should be running and enabled'
describe service(service_name) do
it { should be_enabled }
it { should_not be_running }
end
end