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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73d231599095e931cf054b800746fb39665542f8
4
- data.tar.gz: bec99267d66d13224c9a8940d968314ad9a3ff28
3
+ metadata.gz: 3fd2a800e8f1a198eb856bc9db8c6464e0c44590
4
+ data.tar.gz: 8a6fd3b4534623c1a8acb9a77636afb2aaf844d3
5
5
  SHA512:
6
- metadata.gz: 137573f028c61d473ff5ff344493bd73cc2849f23d6da2a8fc569930ff4146b69563a2b9d967679d8404e29593d9482f5913a09ac01439ab38c525905cb7b42a
7
- data.tar.gz: 2cd43286b2ca2d7c0cac7f451f273b913bdf1db609e346b31c2e1b5fdf5baf91a560d97567d6a1f2b5138b476673d54f3ccb773f75c23615b4f982392b431675
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/, /solaris10/, /windows-2008/]
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
 
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.1.2'
6
+ STRING = '2.1.3'
7
7
  end
8
8
 
9
9
  end
@@ -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] = 'solaris10'
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.2
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-02 00:00:00.000000000 Z
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec