mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-05-20 09:23:41 +02:00
test(service_spec): add should be_installed
This commit is contained in:
parent
1e677cd761
commit
b5461a0eba
@ -8,6 +8,7 @@ control 'salt services' do
|
|||||||
salt-minion
|
salt-minion
|
||||||
].each do |p|
|
].each do |p|
|
||||||
describe service(p) do
|
describe service(p) do
|
||||||
|
it { should be_installed }
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|||||||
@ -8,6 +8,7 @@ control 'salt services' do
|
|||||||
salt-minion
|
salt-minion
|
||||||
].each do |p|
|
].each do |p|
|
||||||
describe service(p) do
|
describe service(p) do
|
||||||
|
it { should be_installed }
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|||||||
@ -8,6 +8,7 @@ control 'salt services' do
|
|||||||
salt-minion
|
salt-minion
|
||||||
].each do |p|
|
].each do |p|
|
||||||
describe service(p) do
|
describe service(p) do
|
||||||
|
it { should be_installed }
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|||||||
@ -8,6 +8,7 @@ control 'salt services' do
|
|||||||
salt-minion
|
salt-minion
|
||||||
].each do |p|
|
].each do |p|
|
||||||
describe service(p) do
|
describe service(p) do
|
||||||
|
it { should be_installed }
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user