beaker-pe 2.11.17 → 2.11.18

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
  SHA256:
3
- metadata.gz: c2f1158ec22a1984b9cc1169e67201c868534857f11c243ae59a1d337e2abfb5
4
- data.tar.gz: abc9ef3725fe4a305a3edbb503a5c48d28934b2539ac1c2cf32a95538059589f
3
+ metadata.gz: 1d1413bb33ad2872c13f73139d7c84890259cc831db06d0d34b93e98f3f86416
4
+ data.tar.gz: 945f17cf188d4a0eaf282da3db6e0a851397fcd177d74fc43c184a3e5418e9e6
5
5
  SHA512:
6
- metadata.gz: 2700a7024284981d6697b97c40b9885ae76616a310ad080eb22e108c9115da6ffd4205071524044023e15bc3cc3ceecc06d2025df5de061c26168a529dfbf2ce
7
- data.tar.gz: 782e10c4809d2f81438f06fc653dd94d420f1c6f34a9a00e9cce1c4ad453ba521e79a49574111fbd3585083e7461c97f2c3476f707b4f84388c5285bc1a940b2
6
+ metadata.gz: f9214eb375767886803d62479a46a86d5dcce7531be74124bac6a3c3f352ab3e59fe67c2b22b77dc6414d959e02562c24eee88f7c208bfea996d1123f9367513
7
+ data.tar.gz: ca87fd01f4350efc2b5bf7438215b443ee06f2215ed2edbddf6d31f691bbdc22bf7ac85a3a55f31fa6351d58bffc9c250a8b7242220af82173b01e5f3d2dbc96
@@ -209,7 +209,7 @@ module Beaker
209
209
  protocol_to_use = '[System.Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12'
210
210
  end
211
211
 
212
- cmd = %Q{powershell -c "cd #{host['working_dir']};#{protocol_to_use};#{cert_validator};\\$webClient = New-Object System.Net.WebClient;\\$webClient.DownloadFile('https://#{downloadhost}:8140/packages/current/install.ps1', '#{host['working_dir']}/install.ps1');#{host['working_dir']}/install.ps1 -verbose #{frictionless_install_opts.join(' ')}"}
212
+ cmd = %Q{powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c "cd #{host['working_dir']};#{protocol_to_use};#{cert_validator};\\$webClient = New-Object System.Net.WebClient;\\$webClient.DownloadFile('https://#{downloadhost}:8140/packages/current/install.ps1', '#{host['working_dir']}/install.ps1');#{host['working_dir']}/install.ps1 -verbose #{frictionless_install_opts.join(' ')}"}
213
213
  else
214
214
  curl_opts = %w{-O}
215
215
  if version_is_less(pe_version, '2019.1.0') || require_tlsv1?(host)
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.11.17'
6
+ STRING = '2.11.18'
7
7
  end
8
8
 
9
9
  end
@@ -272,7 +272,7 @@ describe ClassMixedWithDSLInstallUtils do
272
272
  it 'generates a PS1 frictionless install command for windows' do
273
273
  host['platform'] = 'windows-2012-64'
274
274
  protocol = ''
275
- expecting = "powershell -c \"" +
275
+ expecting = "powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c \"" +
276
276
  [
277
277
  "cd /tmp",
278
278
  "#{protocol}",
@@ -290,7 +290,7 @@ describe ClassMixedWithDSLInstallUtils do
290
290
  host['puppetpath'] = '/PuppetLabs/puppet/etc'
291
291
  host['use_puppet_ca_cert'] = true
292
292
  protocol = ''
293
- expecting = "powershell -c \"" +
293
+ expecting = "powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c \"" +
294
294
  [
295
295
  "cd /tmp",
296
296
  "#{protocol}",
@@ -311,7 +311,7 @@ describe ClassMixedWithDSLInstallUtils do
311
311
  it 'generates a PS1 frictionless install command for windows with Tls12 protocol' do
312
312
  host['platform'] = 'windows-20012-64'
313
313
  protocol = '[System.Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12'
314
- expecting = "powershell -c \"" +
314
+ expecting = "powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c \"" +
315
315
  [
316
316
  "cd /tmp",
317
317
  "#{protocol}",
@@ -327,7 +327,7 @@ describe ClassMixedWithDSLInstallUtils do
327
327
  it 'generates a PS1 frictionless install command for windows-2008 without Tls12 protocol' do
328
328
  host['platform'] = 'windows-2008-64'
329
329
  protocol = ''
330
- expecting = "powershell -c \"" +
330
+ expecting = "powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c \"" +
331
331
  [
332
332
  "cd /tmp",
333
333
  "#{protocol}",
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: 2.11.17
4
+ version: 2.11.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-16 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec