mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-08-05 21:24:01 +02:00
Bootstrap using git, so versions don't collide at package install time.
This commit is contained in:
@@ -8,13 +8,13 @@ end
|
||||
control 'salt packages' do
|
||||
title 'should be installed'
|
||||
|
||||
describe package('salt-master') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
end
|
||||
|
||||
describe package('salt-minion') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
%w(
|
||||
salt-master
|
||||
salt-minion
|
||||
).each do |p|
|
||||
describe package(p) do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
control 'salt services' do
|
||||
title 'should be running'
|
||||
|
||||
describe service('salt-master') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
%w(
|
||||
salt-master
|
||||
salt-minion
|
||||
).each do |p|
|
||||
describe service(p) do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
end
|
||||
|
||||
describe service('salt-minion') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -12,13 +12,13 @@ end
|
||||
control 'salt packages' do
|
||||
title 'should be installed'
|
||||
|
||||
describe package('salt-master') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
end
|
||||
|
||||
describe package('salt-minion') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
%w(
|
||||
salt-master
|
||||
salt-minion
|
||||
).each do |p|
|
||||
describe package(p) do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
control 'salt services' do
|
||||
title 'should be running'
|
||||
|
||||
describe service('salt-master') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
%w(
|
||||
salt-master
|
||||
salt-minion
|
||||
).each do |p|
|
||||
describe service(p) do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
end
|
||||
|
||||
describe service('salt-minion') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -10,13 +10,13 @@ end
|
||||
control 'salt packages' do
|
||||
title 'should be installed'
|
||||
|
||||
describe package('salt-master') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
end
|
||||
|
||||
describe package('salt-minion') do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
%w(
|
||||
salt-master
|
||||
salt-minion
|
||||
).each do |p|
|
||||
describe package(p) do
|
||||
it { should be_installed }
|
||||
its('version') { should eq version }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
control 'salt services' do
|
||||
title 'should be running'
|
||||
|
||||
describe service('salt-master') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
%w(
|
||||
salt-master
|
||||
salt-minion
|
||||
).each do |p|
|
||||
describe service(p) do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
end
|
||||
|
||||
describe service('salt-minion') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user