Bootstrap using git, so versions don't collide at package install time.
This commit is contained in:
parent
2e1d4c4573
commit
5ffc1e5bc1
16
kitchen.yml
16
kitchen.yml
@ -30,7 +30,7 @@ platforms:
|
|||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: salt_solo
|
name: salt_solo
|
||||||
salt_bootstrap_options: -X -d
|
salt_bootstrap_options: -X -d git %s
|
||||||
log_level: info
|
log_level: info
|
||||||
require_chef: false
|
require_chef: false
|
||||||
formula: salt
|
formula: salt
|
||||||
@ -85,7 +85,7 @@ suites:
|
|||||||
- ubuntu-18.04
|
- ubuntu-18.04
|
||||||
- centos-7
|
- centos-7
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: '2019.2.0'
|
salt_version: '2019.2'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
@ -102,7 +102,7 @@ suites:
|
|||||||
includes:
|
includes:
|
||||||
- fedora-29
|
- fedora-29
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: '2019.2.0'
|
salt_version: '2019.2'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
@ -122,7 +122,7 @@ suites:
|
|||||||
provisioner:
|
provisioner:
|
||||||
# We require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2018.3.3'
|
salt_version: '2018.3'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
@ -140,7 +140,7 @@ suites:
|
|||||||
provisioner:
|
provisioner:
|
||||||
# We require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2016.11.10'
|
salt_version: '2016.11'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
@ -158,7 +158,7 @@ suites:
|
|||||||
provisioner:
|
provisioner:
|
||||||
# We require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2018.3.3'
|
salt_version: '2018.3'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
@ -178,7 +178,7 @@ suites:
|
|||||||
provisioner:
|
provisioner:
|
||||||
# We require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2017.7.8'
|
salt_version: '2017.7'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
@ -196,7 +196,7 @@ suites:
|
|||||||
provisioner:
|
provisioner:
|
||||||
# We require an old version of salt in the provisioner or,
|
# We require an old version of salt in the provisioner or,
|
||||||
# the salt formula fails to downgrade to the desired version to test
|
# the salt formula fails to downgrade to the desired version to test
|
||||||
salt_version: '2016.11.10'
|
salt_version: '2016.11'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
salt:
|
salt:
|
||||||
|
@ -8,13 +8,13 @@ end
|
|||||||
control 'salt packages' do
|
control 'salt packages' do
|
||||||
title 'should be installed'
|
title 'should be installed'
|
||||||
|
|
||||||
describe package('salt-master') do
|
%w(
|
||||||
it { should be_installed }
|
salt-master
|
||||||
its('version') { should eq version }
|
salt-minion
|
||||||
end
|
).each do |p|
|
||||||
|
describe package(p) do
|
||||||
describe package('salt-minion') do
|
|
||||||
it { should be_installed }
|
it { should be_installed }
|
||||||
its('version') { should eq version }
|
its('version') { should eq version }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
control 'salt services' do
|
control 'salt services' do
|
||||||
title 'should be running'
|
title 'should be running'
|
||||||
|
|
||||||
describe service('salt-master') do
|
%w(
|
||||||
|
salt-master
|
||||||
|
salt-minion
|
||||||
|
).each do |p|
|
||||||
|
describe service(p) do
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe service('salt-minion') do
|
|
||||||
it { should be_enabled }
|
|
||||||
it { should be_running }
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -12,13 +12,13 @@ end
|
|||||||
control 'salt packages' do
|
control 'salt packages' do
|
||||||
title 'should be installed'
|
title 'should be installed'
|
||||||
|
|
||||||
describe package('salt-master') do
|
%w(
|
||||||
it { should be_installed }
|
salt-master
|
||||||
its('version') { should eq version }
|
salt-minion
|
||||||
end
|
).each do |p|
|
||||||
|
describe package(p) do
|
||||||
describe package('salt-minion') do
|
|
||||||
it { should be_installed }
|
it { should be_installed }
|
||||||
its('version') { should eq version }
|
its('version') { should eq version }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
control 'salt services' do
|
control 'salt services' do
|
||||||
title 'should be running'
|
title 'should be running'
|
||||||
|
|
||||||
describe service('salt-master') do
|
%w(
|
||||||
|
salt-master
|
||||||
|
salt-minion
|
||||||
|
).each do |p|
|
||||||
|
describe service(p) do
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe service('salt-minion') do
|
|
||||||
it { should be_enabled }
|
|
||||||
it { should be_running }
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -10,13 +10,13 @@ end
|
|||||||
control 'salt packages' do
|
control 'salt packages' do
|
||||||
title 'should be installed'
|
title 'should be installed'
|
||||||
|
|
||||||
describe package('salt-master') do
|
%w(
|
||||||
it { should be_installed }
|
salt-master
|
||||||
its('version') { should eq version }
|
salt-minion
|
||||||
end
|
).each do |p|
|
||||||
|
describe package(p) do
|
||||||
describe package('salt-minion') do
|
|
||||||
it { should be_installed }
|
it { should be_installed }
|
||||||
its('version') { should eq version }
|
its('version') { should eq version }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
control 'salt services' do
|
control 'salt services' do
|
||||||
title 'should be running'
|
title 'should be running'
|
||||||
|
|
||||||
describe service('salt-master') do
|
%w(
|
||||||
|
salt-master
|
||||||
|
salt-minion
|
||||||
|
).each do |p|
|
||||||
|
describe service(p) do
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
it { should be_running }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe service('salt-minion') do
|
|
||||||
it { should be_enabled }
|
|
||||||
it { should be_running }
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user