beaker-hostgenerator 1.2.3 → 1.2.8

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
  SHA256:
3
- metadata.gz: d42472334093836d68675b573dd3c6230d0d64c328a1adf039d54aac0cf7bf5f
4
- data.tar.gz: b557be19f94c0ea03d0c002dc4f8a752e0482bf7f3ee74dd8da3a48e602919eb
3
+ metadata.gz: 872636066ef4764b18f301abb8a56794444f59ba0c09f744da73dfe2c8d1c27c
4
+ data.tar.gz: 656c7cb00f526ec54fa4f33393e796d9d9de779899b7631260ce10262ff7ecd8
5
5
  SHA512:
6
- metadata.gz: 806df13a79611484638bdbed2f7277710469de9e45cc5b05ce02ceb12e7be64a38bbb2e4803471f1d886eeeb80fc0eae2094c331886ff365c5dbe32663f12ffb
7
- data.tar.gz: 51fa9b7346e59ccb89dbb67acd4ead60bfed6f0c520593f62967551b45dfbc21ce88a9dc6bbe50d80b602b7dc706e4d38dacec725d9845288ed9cd63b9ac26f5
6
+ metadata.gz: d10353af7b5f09d9afeccbcbdaa484a7ebd5a68734701599a288de6ab6d1f688613426f7d8e904426765b9fa13980f34c7e475140fbd58d79e4cd2c6d30bdef6
7
+ data.tar.gz: 75a150fc247c742778feb8fb37c7997991a0bf281b467a3b0f8e0c02d9c4b90543fae2d9aef0788059b0bb654a35da410040ac910cd6a0a75e144e04d9dfc5f8
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "13:00"
8
+ open-pull-requests-limit: 10
@@ -0,0 +1,10 @@
1
+ before_install:
2
+ - gem update
3
+ - gem --version
4
+ language: ruby
5
+ script: "bundle exec rake test:spec"
6
+ notifications:
7
+ email: false
8
+ rvm:
9
+ - 2.6
10
+ - 2.4
@@ -14,6 +14,7 @@ module BeakerHostGenerator
14
14
  module Data
15
15
  module_function
16
16
  MASTER_PE_VERSION=2019.5
17
+ MAIN_PE_VERSION=2021.0
17
18
  PE_TARBALL_SERVER="https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local"
18
19
 
19
20
  def pe_version
@@ -41,15 +42,23 @@ module BeakerHostGenerator
41
42
  ''
42
43
  end
43
44
 
44
- if(Gem::Version.new($1) < Gem::Version.new("#{MASTER_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/)
45
+ gem_version = Gem::Version.new($1)
46
+ if(gem_version < Gem::Version.new("#{MASTER_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/)
45
47
  pe_branch = $1
46
- else
48
+ elsif gem_version < Gem::Version.new("#{MAIN_PE_VERSION}")
47
49
  #Is this a Master PEZ build?
48
50
  if(version =~ /.*(PEZ|pez)_.*/)
49
51
  pe_branch = "master/feature"
50
52
  else
51
53
  pe_branch = 'master'
52
54
  end
55
+ else
56
+ #Is this a Main PEZ build?
57
+ if(version =~ /.*(PEZ|pez)_.*/)
58
+ pe_branch = "main/feature"
59
+ else
60
+ pe_branch = 'main'
61
+ end
53
62
  end
54
63
 
55
64
  return sprintf(source, ("#{pe_branch}" || ''))
@@ -246,7 +255,7 @@ module BeakerHostGenerator
246
255
  :docker => {
247
256
  'docker_image_commands' => [
248
257
  'cp /bin/true /sbin/agetty',
249
- 'yum install -y crontabs initscripts iproute openssl wget which'
258
+ 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
250
259
  ]
251
260
  },
252
261
  :vmpooler => {
@@ -514,7 +523,7 @@ module BeakerHostGenerator
514
523
  'docker_image_commands' => [
515
524
  'cp /bin/true /sbin/agetty',
516
525
  'rm -f /usr/sbin/policy-rc.d',
517
- 'apt-get update && apt-get install -y cron locales-all net-tools wget'
526
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget apt-transport-https'
518
527
  ]
519
528
  },
520
529
  :vagrant => {
@@ -536,7 +545,7 @@ module BeakerHostGenerator
536
545
  'docker_image_commands' => [
537
546
  'cp /bin/true /sbin/agetty',
538
547
  'rm -f /usr/sbin/policy-rc.d',
539
- 'apt-get update && apt-get install -y cron locales-all net-tools wget'
548
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget apt-transport-https'
540
549
  ]
541
550
  }
542
551
  },
@@ -549,7 +558,7 @@ module BeakerHostGenerator
549
558
  'docker_image_commands' => [
550
559
  'cp /bin/true /sbin/agetty',
551
560
  'rm -f /usr/sbin/policy-rc.d',
552
- 'apt-get update && apt-get install -y cron locales-all net-tools wget systemd-sysv gnupg'
561
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget systemd-sysv gnupg apt-transport-https'
553
562
  ]
554
563
  },
555
564
  :vagrant => {
@@ -571,6 +580,9 @@ module BeakerHostGenerator
571
580
  'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg'
572
581
  ]
573
582
  },
583
+ :vagrant => {
584
+ 'box' => 'debian/buster64',
585
+ },
574
586
  :vmpooler => {
575
587
  'template' => 'debian-10-x86_64'
576
588
  }
@@ -769,6 +781,15 @@ module BeakerHostGenerator
769
781
  'template' => 'fedora-31-x86_64'
770
782
  }
771
783
  },
784
+ 'fedora32-64' => {
785
+ :general => {
786
+ 'platform' => 'fedora-32-x86_64',
787
+ 'packaging_platform' => 'fedora-32-x86_64'
788
+ },
789
+ :vmpooler => {
790
+ 'template' => 'fedora-32-x86_64'
791
+ }
792
+ },
772
793
  'huaweios6-POWER' => {
773
794
  :general => {
774
795
  'platform' => 'huaweios-6-powerpc'
@@ -1036,6 +1057,18 @@ module BeakerHostGenerator
1036
1057
  'template' => 'redhat-8-x86_64'
1037
1058
  }
1038
1059
  },
1060
+ 'redhat8-AARCH64' => {
1061
+ :general => {
1062
+ 'platform' => 'el-8-aarch64',
1063
+ 'packaging_platform' => 'el-8-aarch64'
1064
+ },
1065
+ :abs => {
1066
+ 'template' => 'redhat-8-arm64'
1067
+ },
1068
+ :vmpooler => {
1069
+ 'template' => 'redhat-8-x86_64'
1070
+ }
1071
+ },
1039
1072
  'scientific5-32' => {
1040
1073
  :general => {
1041
1074
  'platform' => 'el-5-i386',
@@ -1428,6 +1461,23 @@ module BeakerHostGenerator
1428
1461
  'template' => 'ubuntu-1810-x86_64'
1429
1462
  }
1430
1463
  },
1464
+ 'ubuntu2004-64' => {
1465
+ :general => {
1466
+ 'platform' => 'ubuntu-20.04-amd64',
1467
+ 'packaging_platform' => 'ubuntu-20.04-amd64'
1468
+ },
1469
+ :docker => {
1470
+ 'docker_image_commands' => [
1471
+ 'cp /bin/true /sbin/agetty',
1472
+ 'apt-get install -y net-tools wget locales apt-transport-https iproute2 gnupg',
1473
+ 'locale-gen en_US.UTF-8',
1474
+ 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1475
+ ]
1476
+ },
1477
+ :vmpooler => {
1478
+ 'template' => 'ubuntu-2004-x86_64'
1479
+ }
1480
+ },
1431
1481
  'vro6-64' => {
1432
1482
  :general => {
1433
1483
  '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
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '1.2.3'
3
+ STRING = '1.2.8'
4
4
  end
5
5
  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.3
4
+ version: 1.2.8
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-02-13 00:00:00.000000000 Z
13
+ date: 2020-09-29 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.6
238
+ rubygems_version: 3.0.8
237
239
  signing_key:
238
240
  specification_version: 4
239
241
  summary: Beaker Host Generator Utility