mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-24 01:24:07 +02:00
test(aluminium): add pillar, tests and verification files for 3003
This commit is contained in:
28 files changed
+2903
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
services =
|
||||
case system.platform[:family]
|
||||
when 'bsd'
|
||||
%w[salt_master salt_minion]
|
||||
when 'windows'
|
||||
%w[salt-minion]
|
||||
else
|
||||
%w[salt-master salt-minion]
|
||||
end
|
||||
|
||||
control 'salt services' do
|
||||
title 'should be running'
|
||||
|
||||
services.each do |p|
|
||||
describe service(p) do
|
||||
it { should be_installed }
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user