2019-04-24 18:18:10 +02:00
|
|
|
control 'Prometheus service' do
|
|
|
|
impact 0.5
|
|
|
|
title 'should be running and enabled'
|
|
|
|
|
|
|
|
describe service('prometheus') do
|
|
|
|
it { should be_enabled }
|
|
|
|
it { should be_running }
|
|
|
|
end
|
2019-04-26 13:09:43 +02:00
|
|
|
|
|
|
|
describe service('prometheus-node-exporter') do
|
|
|
|
it { should be_enabled }
|
|
|
|
it { should be_running }
|
|
|
|
end
|
2019-04-24 18:18:10 +02:00
|
|
|
end
|