beaker-pe 1.36.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-pe/install/pe_utils.rb +2 -2
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +12 -2
- 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: 87e34e4ec7fa04f50f10ba94ced6ba07747fe830
|
4
|
+
data.tar.gz: 575b16a5a7f5e89286308d84fdb6401b06e786f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15a4439aa82bb097e1fe5b7842604947e23e247a21e7c3dd62d4af8789afd5020f68c7b552f3c28008eeedca280c252de1f3fc2dd4ef15c31de141de9d3aaf8a
|
7
|
+
data.tar.gz: 80110427e1ca5bf345849d4339ab67ffe7a804878d52e3290110114ae179df43579b92f9d6bbc64dacadcfd1f40d9aea75f50b804636ddd396b8d2dc7e5cd278
|
@@ -148,10 +148,10 @@ module Beaker
|
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
151
|
-
#
|
151
|
+
# PE 2018.1.0 introduced a pe_repo flag that will determine what happens during the frictionless install
|
152
152
|
# Current support in beaker-pe is for:
|
153
153
|
# --puppet-service-debug, when running puppet service enable, the debug flag is passed into puppt service
|
154
|
-
if host[:puppet_service_debug_flag] == true
|
154
|
+
if (host[:puppet_service_debug_flag] == true and ! version_is_less(pe_version, '2018.1.0'))
|
155
155
|
frictionless_install_opts << '--puppet-service-debug'
|
156
156
|
end
|
157
157
|
|
data/lib/beaker-pe/version.rb
CHANGED
@@ -315,17 +315,27 @@ describe ClassMixedWithDSLInstallUtils do
|
|
315
315
|
expect( subject.frictionless_agent_installer_cmd( lb_test_hosts[3], {}, '2016.4.0' ) ).to eq(expecting)
|
316
316
|
end
|
317
317
|
|
318
|
-
it 'generates a unix PE frictionless install command
|
318
|
+
it 'generates a unix PE frictionless install command without the puppet service debug flag if installing on an older version of PE' do
|
319
319
|
host[:puppet_service_debug_flag] = true
|
320
320
|
expecting = [
|
321
321
|
"FRICTIONLESS_TRACE='true'",
|
322
322
|
"export FRICTIONLESS_TRACE",
|
323
|
-
"cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash install.bash
|
323
|
+
"cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash install.bash"
|
324
324
|
].join("; ")
|
325
325
|
|
326
326
|
expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq(expecting)
|
327
327
|
end
|
328
328
|
|
329
|
+
it 'generates a unix PE frictionless install command with the puppet service debug flag if installing 2018.1.0' do
|
330
|
+
host[:puppet_service_debug_flag] = true
|
331
|
+
expecting = [
|
332
|
+
"FRICTIONLESS_TRACE='true'",
|
333
|
+
"export FRICTIONLESS_TRACE",
|
334
|
+
"cd /tmp && curl --tlsv1 -O -k https://testmaster:8140/packages/current/install.bash && bash install.bash --puppet-service-debug"
|
335
|
+
].join("; ")
|
336
|
+
|
337
|
+
expect( subject.frictionless_agent_installer_cmd( host, {}, '2018.1.0' ) ).to eq(expecting)
|
338
|
+
end
|
329
339
|
end
|
330
340
|
|
331
341
|
describe 'install_ca_cert_on' do
|
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.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|