fix(test): add tests on node_exporter service

This commit is contained in:
Nicolas Rodriguez 2020-08-24 17:13:03 +02:00
parent 890bfc15e3
commit 4e8c69f72b

View File

@ -0,0 +1,15 @@
# frozen_string_literal: true
control 'prometheus services' do
title 'should be running'
describe service('node_exporter') do
it { should be_enabled }
it { should be_running }
end
# node_exporter port
describe port(9100) do
it { should be_listening }
end
end