beaker-pe 1.21.0 → 1.22.0
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
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGY2NDk1YjBkNjNhNTgxNzMxMmUzNzdmODQwZWVmMzJlZWJkYWQ5Ng==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MmY3YWU0M2E5YzUyMGU0ZjU1MDc5ZWIwODRhYzc5ZWI4ODZmZTIwNA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NmRmN2FkYjg2MTk0NTVhMWY4Yjk4YTYwN2UyYTI4NzEwYmRmYzVhNDg5MmIy
|
|
10
|
+
MTE3NjlmOGI3ODBkZTg1YTdmMjFmNmJiMjg5NDgxOTBkOWNlZmMzODAwMzZl
|
|
11
|
+
NmQwNmIzYWZjODMyMjg1Y2M0ZTUxM2FmYjczYWNiMGM0YTc0ZTg=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NmI2ODYyOTE0ZDkyNTQ3Y2MxODYxOGQ4ZmVjMTRjODgwOWM0M2U1MTI1OTJh
|
|
14
|
+
NDFkYmNlMjliNGJmNTVmNGUzZTVhZDgyNTVlMTQwNTA1ZDgyZTNmYjVmN2Mx
|
|
15
|
+
YTg5OThhMGZjMWNhMDQyNDJlNTliYjhjOGMyM2FiYzRmNDM3NGU=
|
|
@@ -507,7 +507,9 @@ module Beaker
|
|
|
507
507
|
fetch_pe([master], opts)
|
|
508
508
|
prepare_host_installer_options(master)
|
|
509
509
|
generate_installer_conf_file_for(master, [master], opts)
|
|
510
|
-
on master
|
|
510
|
+
step "Install PE on master" do
|
|
511
|
+
on master, installer_cmd(master, opts)
|
|
512
|
+
end
|
|
511
513
|
|
|
512
514
|
step "Setup frictionless installer on the master" do
|
|
513
515
|
agents.each do |agent|
|
|
@@ -98,6 +98,7 @@ module Beaker
|
|
|
98
98
|
)
|
|
99
99
|
|
|
100
100
|
scp_to host, list, '/etc/apt/sources.list.d'
|
|
101
|
+
create_remote_file(host, "/etc/apt/apt.conf.d/99trust-all", 'APT::Get::AllowUnauthenticated "true";')
|
|
101
102
|
on host, 'apt-get update'
|
|
102
103
|
else
|
|
103
104
|
host.logger.notify("No repository installation step for #{platform} yet...")
|
data/lib/beaker-pe/version.rb
CHANGED
|
@@ -200,17 +200,17 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
it 'generates a unix PE frictionless install command without cert verification' do
|
|
203
|
-
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq("
|
|
203
|
+
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq("FRICTIONLESS_TRACE='true'; export FRICTIONLESS_TRACE; cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash install.bash")
|
|
204
204
|
end
|
|
205
205
|
|
|
206
206
|
it 'generates a unix PE frictionless install command with cert verification' do
|
|
207
207
|
host['use_puppet_ca_cert'] = true
|
|
208
|
-
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq("
|
|
208
|
+
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq("FRICTIONLESS_TRACE='true'; export FRICTIONLESS_TRACE; cd /tmp && curl --tlsv1 -O --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem https://testmaster:8140/packages/current/install.bash && bash install.bash")
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
it 'generates a unix PE frictionless install command without cert verification on aix' do
|
|
212
212
|
host['platform'] = 'aix-61-power'
|
|
213
|
-
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq("
|
|
213
|
+
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq("FRICTIONLESS_TRACE='true'; export FRICTIONLESS_TRACE; cd /tmp && curl --tlsv1 -O https://testmaster:8140/packages/current/install.bash && bash install.bash")
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
it 'generates a PS1 frictionless install command for windows' do
|
|
@@ -259,7 +259,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
259
259
|
the_host['pe_ver'] = '3.8.0'
|
|
260
260
|
the_host['pe_installer'] = 'puppet-enterprise-installer'
|
|
261
261
|
the_host['roles'] = ['frictionless']
|
|
262
|
-
expect( subject.installer_cmd( the_host, {} ) ).to be === "
|
|
262
|
+
expect( subject.installer_cmd( the_host, {} ) ).to be === "FRICTIONLESS_TRACE='true'; export FRICTIONLESS_TRACE; cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash install.bash"
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
it 'generates a unix PE frictionless install command for a unix host with role "frictionless" and "frictionless_options"' do
|
|
@@ -269,7 +269,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
269
269
|
the_host['pe_installer'] = 'puppet-enterprise-installer'
|
|
270
270
|
the_host['roles'] = ['frictionless']
|
|
271
271
|
the_host['frictionless_options'] = { 'main' => { 'dns_alt_names' => 'puppet' } }
|
|
272
|
-
expect( subject.installer_cmd( the_host, {} ) ).to be === "
|
|
272
|
+
expect( subject.installer_cmd( the_host, {} ) ).to be === "FRICTIONLESS_TRACE='true'; export FRICTIONLESS_TRACE; cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash install.bash main:dns_alt_names=puppet"
|
|
273
273
|
end
|
|
274
274
|
|
|
275
275
|
it 'generates a osx PE install command for a osx host' do
|
|
@@ -306,7 +306,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
306
306
|
the_host['pe_installer'] = 'puppet-enterprise-installer'
|
|
307
307
|
the_host['roles'] = ['frictionless']
|
|
308
308
|
the_host[:pe_debug] = true
|
|
309
|
-
expect( subject.installer_cmd( the_host, {} ) ).to be === "
|
|
309
|
+
expect( subject.installer_cmd( the_host, {} ) ).to be === "FRICTIONLESS_TRACE='true'; export FRICTIONLESS_TRACE; cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash -x install.bash"
|
|
310
310
|
end
|
|
311
311
|
end
|
|
312
312
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-pe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|