mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-12-01 06:21:18 +01:00
17 lines
281 B
Ruby
17 lines
281 B
Ruby
# frozen_string_literal: true
|
|
|
|
control 'salt services' do
|
|
title 'should be running'
|
|
|
|
%w[
|
|
salt-master
|
|
salt-minion
|
|
].each do |p|
|
|
describe service(p) do
|
|
it { should be_installed }
|
|
it { should be_enabled }
|
|
it { should be_running }
|
|
end
|
|
end
|
|
end
|