beaker-pe 2.0.5 → 2.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4718c6001818ced559b751f2cd3947e7c90769d4
|
4
|
+
data.tar.gz: 2b7554400d49d64a35715438a98949d96efcc31b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85e80e262f46bf1a448b3288de9c19252aefd99d2210a77890e7285021894d334fe2dd21f9820d0cd6b9d9e4957468c6d44154c4589a746fbcfd184479d9fb33
|
7
|
+
data.tar.gz: 6431e17d5bf64dd50fbb385c1229346ce69f3bee5788bde0df787c05cbe2a2f85cf662288f59fc490064e44d1ba9601c09b9a9c6aa891552f0950f13ba3d0ddd
|
@@ -1407,8 +1407,10 @@ module Beaker
|
|
1407
1407
|
if(use_meep?(pe_ver))
|
1408
1408
|
if(version_is_less(pe_ver, '2018.1.3'))
|
1409
1409
|
return '1'
|
1410
|
-
|
1410
|
+
elsif(version_is_less(pe_ver, '2019.0.2'))
|
1411
1411
|
return '2'
|
1412
|
+
else
|
1413
|
+
return '3'
|
1412
1414
|
end
|
1413
1415
|
else
|
1414
1416
|
return 'Y'
|
@@ -99,7 +99,12 @@ module Beaker
|
|
99
99
|
)
|
100
100
|
|
101
101
|
scp_to host, list, '/etc/apt/sources.list.d'
|
102
|
-
|
102
|
+
if variant == 'ubuntu' && version.split('.').first.to_i >= 18
|
103
|
+
apt_conf_content = 'Acquire::AllowInsecureRepositories "true";'
|
104
|
+
else
|
105
|
+
apt_conf_content = 'APT::Get::AllowUnauthenticated "true";'
|
106
|
+
end
|
107
|
+
create_remote_file(host, '/etc/apt/apt.conf.d/99trust-all', apt_conf_content)
|
103
108
|
on host, 'apt-get update'
|
104
109
|
else
|
105
110
|
host.logger.notify("No repository installation step for #{platform} yet...")
|
data/lib/beaker-pe/version.rb
CHANGED
@@ -2479,6 +2479,9 @@ describe ClassMixedWithDSLInstallUtils do
|
|
2479
2479
|
it 'returns 2 if the pe_ver is greater then 2018.1.3' do
|
2480
2480
|
expect(subject.determine_higgs_answer('2018.2.0')).to eq('2')
|
2481
2481
|
end
|
2482
|
+
it 'returns 3 if the pe_ver is greater then 2019.0.1' do
|
2483
|
+
expect(subject.determine_higgs_answer('2019.0.2')).to eq('3')
|
2484
|
+
end
|
2482
2485
|
end
|
2483
2486
|
|
2484
2487
|
describe 'update_pe_conf' 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: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|