beaker-hostgenerator 1.2.4 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +8 -0
- data/.travis.yml +10 -0
- data/lib/beaker-hostgenerator/data.rb +54 -10
- data/lib/beaker-hostgenerator/hypervisor/vagrant.rb +1 -1
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +5 -3
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
|
data/.travis.yml
ADDED
@@ -13,7 +13,7 @@ module BeakerHostGenerator
|
|
13
13
|
# `include BeakerHostGenerator::Data` and then `<function>()`.
|
14
14
|
module Data
|
15
15
|
module_function
|
16
|
-
|
16
|
+
MAIN_PE_VERSION=2021.0
|
17
17
|
PE_TARBALL_SERVER="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local"
|
18
18
|
|
19
19
|
def pe_version
|
@@ -41,15 +41,12 @@ module BeakerHostGenerator
|
|
41
41
|
''
|
42
42
|
end
|
43
43
|
|
44
|
-
|
45
|
-
|
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
|
46
48
|
else
|
47
|
-
|
48
|
-
if(version =~ /.*(PEZ|pez)_.*/)
|
49
|
-
pe_branch = "master/feature"
|
50
|
-
else
|
51
|
-
pe_branch = 'master'
|
52
|
-
end
|
49
|
+
pe_branch = 'main'
|
53
50
|
end
|
54
51
|
|
55
52
|
return sprintf(source, ("#{pe_branch}" || ''))
|
@@ -246,7 +243,7 @@ module BeakerHostGenerator
|
|
246
243
|
:docker => {
|
247
244
|
'docker_image_commands' => [
|
248
245
|
'cp /bin/true /sbin/agetty',
|
249
|
-
'yum install -y crontabs initscripts iproute openssl wget which'
|
246
|
+
'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
|
250
247
|
]
|
251
248
|
},
|
252
249
|
:vmpooler => {
|
@@ -772,6 +769,15 @@ module BeakerHostGenerator
|
|
772
769
|
'template' => 'fedora-31-x86_64'
|
773
770
|
}
|
774
771
|
},
|
772
|
+
'fedora32-64' => {
|
773
|
+
:general => {
|
774
|
+
'platform' => 'fedora-32-x86_64',
|
775
|
+
'packaging_platform' => 'fedora-32-x86_64'
|
776
|
+
},
|
777
|
+
:vmpooler => {
|
778
|
+
'template' => 'fedora-32-x86_64'
|
779
|
+
}
|
780
|
+
},
|
775
781
|
'huaweios6-POWER' => {
|
776
782
|
:general => {
|
777
783
|
'platform' => 'huaweios-6-powerpc'
|
@@ -1039,6 +1045,18 @@ module BeakerHostGenerator
|
|
1039
1045
|
'template' => 'redhat-8-x86_64'
|
1040
1046
|
}
|
1041
1047
|
},
|
1048
|
+
'redhat8-AARCH64' => {
|
1049
|
+
:general => {
|
1050
|
+
'platform' => 'el-8-aarch64',
|
1051
|
+
'packaging_platform' => 'el-8-aarch64'
|
1052
|
+
},
|
1053
|
+
:abs => {
|
1054
|
+
'template' => 'redhat-8-arm64'
|
1055
|
+
},
|
1056
|
+
:vmpooler => {
|
1057
|
+
'template' => 'redhat-8-x86_64'
|
1058
|
+
}
|
1059
|
+
},
|
1042
1060
|
'scientific5-32' => {
|
1043
1061
|
:general => {
|
1044
1062
|
'platform' => 'el-5-i386',
|
@@ -1431,6 +1449,32 @@ module BeakerHostGenerator
|
|
1431
1449
|
'template' => 'ubuntu-1810-x86_64'
|
1432
1450
|
}
|
1433
1451
|
},
|
1452
|
+
'ubuntu2004-64' => {
|
1453
|
+
:general => {
|
1454
|
+
'platform' => 'ubuntu-20.04-amd64',
|
1455
|
+
'packaging_platform' => 'ubuntu-20.04-amd64'
|
1456
|
+
},
|
1457
|
+
:docker => {
|
1458
|
+
'docker_image_commands' => [
|
1459
|
+
'cp /bin/true /sbin/agetty',
|
1460
|
+
'apt-get install -y net-tools wget locales apt-transport-https iproute2 gnupg',
|
1461
|
+
'locale-gen en_US.UTF-8',
|
1462
|
+
'echo LANG=en_US.UTF-8 > /etc/default/locale'
|
1463
|
+
]
|
1464
|
+
},
|
1465
|
+
:vmpooler => {
|
1466
|
+
'template' => 'ubuntu-2004-x86_64'
|
1467
|
+
}
|
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
|
+
},
|
1434
1478
|
'vro6-64' => {
|
1435
1479
|
:general => {
|
1436
1480
|
'platform' => 'sles-11-x86_64',
|
@@ -11,7 +11,7 @@ module BeakerHostGenerator
|
|
11
11
|
if node_info['ostype'] =~ /^centos/
|
12
12
|
base_config['box'] = node_info['ostype'].sub(/(\d)/, '/\1')
|
13
13
|
elsif node_info['ostype'] =~ /^fedora/
|
14
|
-
base_config['box'] = node_info['ostype'].sub(/(\d)/, '/\1') + 'cloud-base'
|
14
|
+
base_config['box'] = node_info['ostype'].sub(/(\d)/, '/\1') + '-cloud-base'
|
15
15
|
else
|
16
16
|
base_config['box'] = "generic/#{node_info['ostype']}"
|
17
17
|
end
|
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
|
@@ -184,9 +184,11 @@ executables:
|
|
184
184
|
extensions: []
|
185
185
|
extra_rdoc_files: []
|
186
186
|
files:
|
187
|
+
- ".github/dependabot.yml"
|
187
188
|
- ".gitignore"
|
188
189
|
- ".rspec"
|
189
190
|
- ".simplecov"
|
191
|
+
- ".travis.yml"
|
190
192
|
- CHANGELOG.md
|
191
193
|
- CODEOWNERS
|
192
194
|
- CONTRIBUTING.md
|
@@ -233,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
235
|
- !ruby/object:Gem::Version
|
234
236
|
version: '0'
|
235
237
|
requirements: []
|
236
|
-
rubygems_version: 3.0.
|
238
|
+
rubygems_version: 3.0.8
|
237
239
|
signing_key:
|
238
240
|
specification_version: 4
|
239
241
|
summary: Beaker Host Generator Utility
|