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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a17dc91d56e07d14fd5547212a846aa002361d91
4
- data.tar.gz: a9b79e20ba95a43f3250a654389d9ff28f15ce3b
3
+ metadata.gz: 87e34e4ec7fa04f50f10ba94ced6ba07747fe830
4
+ data.tar.gz: 575b16a5a7f5e89286308d84fdb6401b06e786f6
5
5
  SHA512:
6
- metadata.gz: 53bb7ca46de519fd5b8c96649e58a04f44befc203eaa63d187f29e585d312543b7f9b729005f08e8331f9b996f639dafac842eaf42485c0386b656a6bde0be8d
7
- data.tar.gz: 65316498104bb3e13ef92afbb44b33dc017fa2df9b0405e14f876fc3121809d9bf45d9457ebc0e40a9bbe8adb8eaa3fa9faa89941427f0bf4c81072956b3672f
6
+ metadata.gz: 15a4439aa82bb097e1fe5b7842604947e23e247a21e7c3dd62d4af8789afd5020f68c7b552f3c28008eeedca280c252de1f3fc2dd4ef15c31de141de9d3aaf8a
7
+ data.tar.gz: 80110427e1ca5bf345849d4339ab67ffe7a804878d52e3290110114ae179df43579b92f9d6bbc64dacadcfd1f40d9aea75f50b804636ddd396b8d2dc7e5cd278
@@ -148,10 +148,10 @@ module Beaker
148
148
  end
149
149
  end
150
150
 
151
- # pe_repo also supports flags that will determine what happens during the frictionless install
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
 
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '1.36.0'
6
+ STRING = '1.37.0'
7
7
  end
8
8
 
9
9
  end
@@ -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 with the puppet service debug flag' do
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 --puppet-service-debug"
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.36.0
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-16 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec