beaker-pe 2.1.2 → 2.1.3
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 +1 -1
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +11 -1
- 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: 3fd2a800e8f1a198eb856bc9db8c6464e0c44590
|
4
|
+
data.tar.gz: 8a6fd3b4534623c1a8acb9a77636afb2aaf844d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4274167ed8ceb163325d1486dda58618a460a9c7587150fbcdf0a3369d716a30f137ecbd33bfb47e713805f0c9fa103b9e1d7a7c51c9267f9401d03e33575ea0
|
7
|
+
data.tar.gz: 19ea7205ee7b335aee07d8ab7f393aed13cb658893e0f0e04837d5ea0d0bcaefcc700b39e6646ed4acad7441e9adf75e6c2f7eea805b80ba5e5cd2c9625fc183
|
@@ -139,7 +139,7 @@ module Beaker
|
|
139
139
|
#Return true if tlsv1 protocol needs to be enforced
|
140
140
|
#param [Host] the host
|
141
141
|
def require_tlsv1?(host)
|
142
|
-
tlsv1_platforms = [/aix/, /el-5/, /
|
142
|
+
tlsv1_platforms = [/aix/, /el-5/, /solaris-1[0,1]-[i,x]/, /sles-11/,/windows-2008/]
|
143
143
|
return tlsv1_platforms.any? {|platform_regex| host['platform'] =~ platform_regex}
|
144
144
|
end
|
145
145
|
|
data/lib/beaker-pe/version.rb
CHANGED
@@ -382,7 +382,17 @@ describe ClassMixedWithDSLInstallUtils do
|
|
382
382
|
expect( subject.frictionless_agent_installer_cmd( host, {}, '2019.1.0' ) ).to eq(expecting)
|
383
383
|
end
|
384
384
|
it 'generates a unix PE frictionless install command with --tlsv1 flag if installing 2019.1.0 on solaris10' do
|
385
|
-
host[:platform] = '
|
385
|
+
host[:platform] = 'solaris-10-i386'
|
386
|
+
expecting = [
|
387
|
+
"FRICTIONLESS_TRACE='true'",
|
388
|
+
"export FRICTIONLESS_TRACE",
|
389
|
+
"cd /tmp && curl -O --tlsv1 -k https://testmaster:8140/packages/current/install.bash && bash install.bash"
|
390
|
+
].join("; ")
|
391
|
+
|
392
|
+
expect( subject.frictionless_agent_installer_cmd( host, {}, '2019.1.0' ) ).to eq(expecting)
|
393
|
+
end
|
394
|
+
it 'generates a unix PE frictionless install command with --tlsv1 flag if installing 2019.1.0 on solaris11' do
|
395
|
+
host[:platform] = 'solaris-11-i386'
|
386
396
|
expecting = [
|
387
397
|
"FRICTIONLESS_TRACE='true'",
|
388
398
|
"export FRICTIONLESS_TRACE",
|
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.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|