2019-04-12 17:34:35 +02:00
|
|
|
control 'Nginx service' do
|
|
|
|
title 'should be running and enabled'
|
|
|
|
|
|
|
|
describe service('nginx') do
|
2021-02-14 09:22:55 +01:00
|
|
|
it { should be_installed }
|
2019-04-12 17:34:35 +02:00
|
|
|
it { should be_enabled }
|
|
|
|
it { should be_running }
|
|
|
|
end
|
|
|
|
end
|