test(inspec): add service verification control [skip ci]

Provide this after noticing this was missing when reviewing #45.
This commit is contained in:
Imran Iqbal 2021-06-04 08:05:02 +01:00
parent 032b522078
commit 8ab91fd450
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819

View File

@ -0,0 +1,11 @@
# frozen_string_literal: true
control 'Keepalived service' do
title 'should be installed'
describe service('keepalived') do
it { should be_installed }
it { should be_enabled }
it { should be_running }
end
end