beaker-hostgenerator 1.2.8 → 1.2.9
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-hostgenerator/data.rb +14 -17
- data/lib/beaker-hostgenerator/version.rb +1 -1
- 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: c37b8881da26cd2afcdfecf1b82ef3490dba5095e6fc8940ec55898c78aefd8e
|
|
4
|
+
data.tar.gz: 3dafb9ff03ab68cff642cdc5037822e57a0165570c78cd7aa6ff75715220e055
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61cdf2bc25a48d3754303d03b76ad7782ec139c872c99f6f43d75b47dd70dcca471705e43d1f1ba248428a25e085de8c9ea5fe005180c7cafa6d31dc0ecda78f
|
|
7
|
+
data.tar.gz: 6192ed77e44b647f616b18357dce44288d69144f83f7665469143780cc698635f0eb36aeb876aed3b90f425cd4ef62c4ba66c7ba0e6c06dbf10328de725108a3
|
|
@@ -13,7 +13,6 @@ module BeakerHostGenerator
|
|
|
13
13
|
# `include BeakerHostGenerator::Data` and then `<function>()`.
|
|
14
14
|
module Data
|
|
15
15
|
module_function
|
|
16
|
-
MASTER_PE_VERSION=2019.5
|
|
17
16
|
MAIN_PE_VERSION=2021.0
|
|
18
17
|
PE_TARBALL_SERVER="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local"
|
|
19
18
|
|
|
@@ -42,23 +41,12 @@ module BeakerHostGenerator
|
|
|
42
41
|
''
|
|
43
42
|
end
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
#Is this a Master PEZ build?
|
|
50
|
-
if(version =~ /.*(PEZ|pez)_.*/)
|
|
51
|
-
pe_branch = "master/feature"
|
|
52
|
-
else
|
|
53
|
-
pe_branch = 'master'
|
|
54
|
-
end
|
|
44
|
+
pe_family = $1
|
|
45
|
+
gem_version = Gem::Version.new(pe_family)
|
|
46
|
+
if(gem_version < Gem::Version.new("#{MAIN_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/)
|
|
47
|
+
pe_branch = pe_family
|
|
55
48
|
else
|
|
56
|
-
|
|
57
|
-
if(version =~ /.*(PEZ|pez)_.*/)
|
|
58
|
-
pe_branch = "main/feature"
|
|
59
|
-
else
|
|
60
|
-
pe_branch = 'main'
|
|
61
|
-
end
|
|
49
|
+
pe_branch = 'main'
|
|
62
50
|
end
|
|
63
51
|
|
|
64
52
|
return sprintf(source, ("#{pe_branch}" || ''))
|
|
@@ -1478,6 +1466,15 @@ module BeakerHostGenerator
|
|
|
1478
1466
|
'template' => 'ubuntu-2004-x86_64'
|
|
1479
1467
|
}
|
|
1480
1468
|
},
|
|
1469
|
+
'ubuntu2004-AARCH64' => {
|
|
1470
|
+
:general => {
|
|
1471
|
+
'platform' => 'ubuntu-20.04-aarch64',
|
|
1472
|
+
'packaging_platform' => 'ubuntu-20.04-aarch64'
|
|
1473
|
+
},
|
|
1474
|
+
:abs => {
|
|
1475
|
+
'template' => 'ubuntu-2004-arm64'
|
|
1476
|
+
},
|
|
1477
|
+
},
|
|
1481
1478
|
'vro6-64' => {
|
|
1482
1479
|
:general => {
|
|
1483
1480
|
'platform' => 'sles-11-x86_64',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-hostgenerator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Branan Purvine-Riley
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2020-
|
|
13
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: minitest
|