beaker-puppet 1.18.5 → 1.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/beaker-puppet/version.rb +1 -1
- data/setup/common/011_Install_Puppet_Server.rb +3 -1
- data/setup/common/040_ValidateSignCert.rb +6 -1
- data/setup/git/000_EnvSetup.rb +9 -0
- data/setup/git/020_PuppetUserAndGroup.rb +1 -0
- data/setup/git/070_InstallCACerts.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5a08dd203761a4a5bfda53b7f212ab54fef8d70
|
4
|
+
data.tar.gz: 21f83faf1e52fc7040c76775249469d4eaf52628
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5995a15e365daa5b940263c03df81ea3c4302b7a2a513cafea25cdeaffb408e17fd70ea3c7213443f53b2b7ec7fdf0ab08aa1712100e3c488022cd55327f5082
|
7
|
+
data.tar.gz: b256f4840bd77c43cb660e79422ffa6291f55216bab327db13959d6e4e30a8ee3bde35ca886481a5068d8b7db70b83d219f4cf679bcd91c71bf01c6d9f5245bc
|
@@ -7,5 +7,7 @@ test_name "Install Puppet Server" do
|
|
7
7
|
:nightly_builds_url => ENV['NIGHTLY_BUILDS_URL'],
|
8
8
|
:dev_builds_url => ENV['DEV_BUILDS_URL']
|
9
9
|
}
|
10
|
-
|
10
|
+
unless master['use_existing_container']
|
11
|
+
install_puppetserver_on(master, opts)
|
12
|
+
end
|
11
13
|
end
|
@@ -1,4 +1,9 @@
|
|
1
1
|
test_name "Validate Sign Cert" do
|
2
|
+
need_to_run = false
|
3
|
+
hosts.each do |host|
|
4
|
+
need_to_run ||= !host['use_existing_container']
|
5
|
+
end
|
6
|
+
skip_test 'No new hosts to create, skipping' unless need_to_run
|
2
7
|
skip_test 'not testing with puppetserver' unless @options['is_puppetserver']
|
3
8
|
hostname = on(master, 'facter hostname').stdout.strip
|
4
9
|
fqdn = on(master, 'facter fqdn').stdout.strip
|
@@ -35,7 +40,7 @@ test_name "Validate Sign Cert" do
|
|
35
40
|
|
36
41
|
# In Puppet 6, we want to be using an intermediate CA
|
37
42
|
unless version_is_less(puppet_version, "5.99")
|
38
|
-
on master, 'puppetserver ca setup'
|
43
|
+
on master, 'puppetserver ca setup' unless master['use_existing_container']
|
39
44
|
end
|
40
45
|
with_puppet_running_on(master, master_opts) do
|
41
46
|
step "Agents: Run agent --test with autosigning enabled to get cert"
|
data/setup/git/000_EnvSetup.rb
CHANGED
@@ -72,6 +72,14 @@ end
|
|
72
72
|
install_packages_on(agents, PACKAGES, :check_if_exists => true)
|
73
73
|
|
74
74
|
step "Unpack puppet-runtime" do
|
75
|
+
need_to_run = false
|
76
|
+
agents.each do |host|
|
77
|
+
# we only need to unpack the runtime if the host doesn't already have runtime
|
78
|
+
# and if it's a not an existing container
|
79
|
+
need_to_run ||= (!host['has_runtime'] && !host['use_existing_container'])
|
80
|
+
end
|
81
|
+
|
82
|
+
skip_test 'No new hosts to create, skipping' unless need_to_run
|
75
83
|
dev_builds_url = ENV['DEV_BUILDS_URL'] || 'http://builds.delivery.puppetlabs.net'
|
76
84
|
branch = ENV['RUNTIME_BRANCH'] || 'master'
|
77
85
|
|
@@ -87,6 +95,7 @@ step "Unpack puppet-runtime" do
|
|
87
95
|
runtime_suffix = ".tar.gz"
|
88
96
|
|
89
97
|
agents.each do |host|
|
98
|
+
next if host['has_runtime'] || host['use_existing_container']
|
90
99
|
|
91
100
|
platform_tag = host['packaging_platform']
|
92
101
|
if platform_tag =~ /windows/
|
@@ -76,6 +76,8 @@ A4GBAFjOKer89961zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y
|
|
76
76
|
EOM
|
77
77
|
|
78
78
|
hosts.each do |host|
|
79
|
+
next if host['use_existing_container']
|
80
|
+
|
79
81
|
step "Installing Geotrust CA cert"
|
80
82
|
create_remote_file(host, "geotrustglobal.pem", GEOTRUST_GLOBAL_CA)
|
81
83
|
on host, "chmod 644 geotrustglobal.pem"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|