2019-10-11 21:21:28 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-12-22 16:00:15 +01:00
|
|
|
control 'salt services' do
|
|
|
|
title 'should be running'
|
|
|
|
|
2019-10-11 21:21:28 +02:00
|
|
|
%w[
|
2019-03-31 21:17:02 +02:00
|
|
|
salt-master
|
|
|
|
salt-minion
|
2019-10-11 21:21:28 +02:00
|
|
|
].each do |p|
|
2019-03-31 21:17:02 +02:00
|
|
|
describe service(p) do
|
|
|
|
it { should be_enabled }
|
|
|
|
it { should be_running }
|
|
|
|
end
|
2018-12-22 16:00:15 +01:00
|
|
|
end
|
|
|
|
end
|