瀏覽代碼

Bootstrap using git, so versions don't collide at package install time.

tags/v0.57.0
Javier Bértoli 5 年之前
父節點
當前提交
5ffc1e5bc1
共有 7 個檔案被更改,包括 56 行新增59 行删除
  1. +8
    -8
      kitchen.yml
  2. +8
    -8
      test/integration/2017-7/pkgs_spec.rb
  3. +8
    -9
      test/integration/2017-7/service_spec.rb
  4. +8
    -8
      test/integration/2018-3/pkgs_spec.rb
  5. +8
    -9
      test/integration/2018-3/service_spec.rb
  6. +8
    -8
      test/integration/2019-2/pkgs_spec.rb
  7. +8
    -9
      test/integration/2019-2/service_spec.rb

+ 8
- 8
kitchen.yml 查看文件

@@ -30,7 +30,7 @@ platforms:

provisioner:
name: salt_solo
salt_bootstrap_options: -X -d
salt_bootstrap_options: -X -d git %s
log_level: info
require_chef: false
formula: salt
@@ -85,7 +85,7 @@ suites:
- ubuntu-18.04
- centos-7
provisioner:
salt_version: '2019.2.0'
salt_version: '2019.2'
pillars:
salt.sls:
salt:
@@ -102,7 +102,7 @@ suites:
includes:
- fedora-29
provisioner:
salt_version: '2019.2.0'
salt_version: '2019.2'
pillars:
salt.sls:
salt:
@@ -122,7 +122,7 @@ suites:
provisioner:
# We require an old version of salt in the provisioner or,
# the salt formula fails to downgrade to the desired version to test
salt_version: '2018.3.3'
salt_version: '2018.3'
pillars:
salt.sls:
salt:
@@ -140,7 +140,7 @@ suites:
provisioner:
# We require an old version of salt in the provisioner or,
# the salt formula fails to downgrade to the desired version to test
salt_version: '2016.11.10'
salt_version: '2016.11'
pillars:
salt.sls:
salt:
@@ -158,7 +158,7 @@ suites:
provisioner:
# We require an old version of salt in the provisioner or,
# the salt formula fails to downgrade to the desired version to test
salt_version: '2018.3.3'
salt_version: '2018.3'
pillars:
salt.sls:
salt:
@@ -178,7 +178,7 @@ suites:
provisioner:
# We require an old version of salt in the provisioner or,
# the salt formula fails to downgrade to the desired version to test
salt_version: '2017.7.8'
salt_version: '2017.7'
pillars:
salt.sls:
salt:
@@ -196,7 +196,7 @@ suites:
provisioner:
# We require an old version of salt in the provisioner or,
# the salt formula fails to downgrade to the desired version to test
salt_version: '2016.11.10'
salt_version: '2016.11'
pillars:
salt.sls:
salt:

+ 8
- 8
test/integration/2017-7/pkgs_spec.rb 查看文件

@@ -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

+ 8
- 9
test/integration/2017-7/service_spec.rb 查看文件

@@ -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

+ 8
- 8
test/integration/2018-3/pkgs_spec.rb 查看文件

@@ -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

+ 8
- 9
test/integration/2018-3/service_spec.rb 查看文件

@@ -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

+ 8
- 8
test/integration/2019-2/pkgs_spec.rb 查看文件

@@ -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

+ 8
- 9
test/integration/2019-2/service_spec.rb 查看文件

@@ -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

Loading…
取消
儲存