beaker-pe 2.11.17 → 2.11.18
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-pe/install/pe_utils.rb +1 -1
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d1413bb33ad2872c13f73139d7c84890259cc831db06d0d34b93e98f3f86416
|
|
4
|
+
data.tar.gz: 945f17cf188d4a0eaf282da3db6e0a851397fcd177d74fc43c184a3e5418e9e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)
|
data/lib/beaker-pe/version.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2022-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|