beaker-hostgenerator 1.2.7 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/CODEOWNERS CHANGED
@@ -1 +0,0 @@
1
- * @puppetlabs/beaker
data/Gemfile CHANGED
@@ -1,7 +1,11 @@
1
- source ENV['GEM_SOURCE'] || "https://rubygems.org"
1
+ source ENV['GEM_SOURCE'] || 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
5
  if File.exists? "#{__FILE__}.local"
6
6
  eval(File.read("#{__FILE__}.local"), binding)
7
7
  end
8
+
9
+ group :release do
10
+ gem 'github_changelog_generator', :require => false
11
+ end
data/HISTORY.md CHANGED
@@ -1,29 +1,56 @@
1
- # worker - History
2
- ## Tags
3
- * [LATEST - 7 Jun, 2017 (06b6a0da)](#LATEST)
4
- * [0.8.4 - 6 Apr, 2017 (77943fb2)](#0.8.4)
5
- * [0.8.3 - 7 Feb, 2017 (79e8d717)](#0.8.3)
6
- * [0.8.2 - 3 Jan, 2017 (a61487bf)](#0.8.2)
7
- * [0.8.1 - 21 Dec, 2016 (2648029d)](#0.8.1)
8
- * [0.8.0 - 4 Oct, 2016 (2e6dc11e)](#0.8.0)
9
- * [0.7.4 - 26 Sep, 2016 (1e102ccd)](#0.7.4)
10
- * [0.7.3 - 11 Aug, 2016 (87c75523)](#0.7.3)
11
- * [0.7.2 - 13 Jul, 2016 (cee53bcc)](#0.7.2)
12
- * [0.7.1 - 29 Jun, 2016 (be332325)](#0.7.1)
13
- * [0.7.0 - 13 Jun, 2016 (f0aafe8d)](#0.7.0)
14
- * [0.6.0 - 11 May, 2016 (c807eb0d)](#0.6.0)
15
- * [0.5.0 - 31 Mar, 2016 (fa3ae0c8)](#0.5.0)
16
- * [0.4.0 - 10 Feb, 2016 (dc333b1c)](#0.4.0)
17
- * [0.3.3 - 3 Feb, 2016 (41051da9)](#0.3.3)
18
- * [0.3.2 - 28 Jan, 2016 (299df8ec)](#0.3.2)
19
- * [0.3.1 - 30 Dec, 2015 (7a3f10ca)](#0.3.1)
20
- * [0.3.0 - 30 Dec, 2015 (4b03eaf4)](#0.3.0)
21
- * [0.2.0 - 22 Dec, 2015 (dfa33e5f)](#0.2.0)
22
- * [0.1.0 - 21 Dec, 2015 (474f4ccb)](#0.1.0)
23
- * [0.0.1 - 7 Oct, 2015 (d99251e6)](#0.0.1)
24
-
1
+ ## [1.1.26](https://github.com/voxpupuli/modulesync/tree/1.1.26) (2019-02-19)
2
+ - Add platform
3
+ - debian10-64
4
+ - debian10-32
5
+ - Change amazon7-ARM64 to use el-7-aarch64 platform
6
+
7
+ ## [1.1.25] - 2019-01-07
8
+ - Fix --hypervisor vagrant_libvirt
9
+
10
+ ## [1.1.24] - 2019-01-03
11
+ - Add platform:
12
+ - amazon7-ARM64
13
+
14
+ ## [1.1.23] - 2018-12-13
15
+ - Add platforms:
16
+ - redhat8-64
17
+ - osx1014-64
18
+
19
+ ## [1.1.22] - 2018-11-21
20
+ - Add vagrant hypervisor for debian plaforms
21
+
22
+ ## [1.1.21] - 2018-11-19
23
+ - Disable getty when using docker
24
+
25
+ ## [1.1.20] - 2018-11-14
26
+ - Add gnupg to docker_image_commands for debian9-64
27
+ - Add platform:
28
+ - fedora29-64
29
+
30
+ ## [1.1.19] - 2018-10-18
31
+ - Add platforms:
32
+ - solaris114-32
33
+ - solaris114-64
34
+
35
+ ## [1.1.18] - 2018-10-10
36
+ - Add platform:
37
+ - ubuntu1810-64
38
+
39
+ ## [1.1.17] - 2018-10-05
40
+ - Add platforms:
41
+ - windows2019_core-64
42
+ - windows2019_core-6432
43
+
44
+ ## [1.1.16] - 2018-09-04
45
+ - Install iproute2 on ubuntu18.04 for containers
46
+
47
+ ## [1.1.15] - 2018-08-16
48
+ - Add platforms:
49
+ - panos61-64
50
+ - panos71-64
25
51
  ## Details
26
- ### <a name = "LATEST">LATEST - 7 Jun, 2017 (06b6a0da)
52
+
53
+ ### 0.9.0 - 7 Jun, 2017 (06b6a0da)
27
54
 
28
55
  * (GEM) update beaker-hostgenerator version to 0.9.0 (06b6a0da)
29
56
 
@@ -1747,6 +1774,6 @@ This commit updates the code to use the new constant name.
1747
1774
 
1748
1775
  * README typo fixed (ba88e07e)
1749
1776
 
1750
- ### <a name = "0.0.1">0.0.1 - 7 Oct, 2015 (d99251e6)
1777
+ ### 0.0.1 - 7 Oct, 2015 (d99251e6)
1751
1778
 
1752
1779
  * Initial release.
data/README.md CHANGED
@@ -453,6 +453,20 @@ contribute.
453
453
  If you have questions or comments, please contact the Beaker team at the
454
454
  `#puppet-dev` IRC channel on chat.freenode.org
455
455
 
456
+ ## Make a new release
457
+
458
+ To make a new release:
459
+
460
+ * Switch to a new git branch
461
+ * Update `lib/beaker-hostgenerator/version.rb` to the new version
462
+ * export `CHANGELOG_GITHUB_TOKEN` with a GitHub access token
463
+ * run `bundle exec rake changelog`
464
+ * Review the CHANGELOG.md
465
+ * Create a PR
466
+ * Get it reviewed and merged
467
+ * Create a signed git tag with the same version number and push it
468
+ * GitHub actions will do the release
469
+
456
470
  ## License
457
471
 
458
472
  `beaker-hostgenerator` is distributed under the
data/Rakefile CHANGED
@@ -55,3 +55,27 @@ task 'test:spec' => ['test:spec:run', 'test:spec:minitest']
55
55
  # global defaults
56
56
  task :test => 'test:spec'
57
57
  task :default => :test
58
+
59
+ begin
60
+ require 'github_changelog_generator/task'
61
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
62
+ config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
63
+ config.exclude_labels = %w[duplicate question invalid wontfix wont-fix modulesync skip-changelog]
64
+ config.user = 'voxpupuli'
65
+ config.project = 'beaker-hostgenerator'
66
+ config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
67
+ end
68
+
69
+ # Workaround for https://github.com/github-changelog-generator/github-changelog-generator/issues/715
70
+ require 'rbconfig'
71
+ if RbConfig::CONFIG['host_os'] =~ /linux/
72
+ task :changelog do
73
+ puts 'Fixing line endings...'
74
+ changelog_file = File.join(__dir__, 'CHANGELOG.md')
75
+ changelog_txt = File.read(changelog_file)
76
+ new_contents = changelog_txt.gsub(/\r\n/, "\n")
77
+ File.open(changelog_file, 'w') { |file| file.puts new_contents }
78
+ end
79
+ end
80
+ rescue LoadError
81
+ end
@@ -23,8 +23,8 @@ eos
23
23
  s.add_development_dependency 'minitest'
24
24
  s.add_development_dependency 'rspec', '~> 3.0'
25
25
  s.add_development_dependency 'rspec-its'
26
- s.add_development_dependency 'fakefs', '~> 0.6', '< 0.14.0'
27
- s.add_development_dependency 'rake', '~> 10.1'
26
+ s.add_development_dependency 'fakefs', '>= 0.6', '< 2.0'
27
+ s.add_development_dependency 'rake', '~> 13.0'
28
28
  s.add_development_dependency 'simplecov'
29
29
  s.add_development_dependency 'pry', '~> 0.10'
30
30
 
@@ -13,7 +13,7 @@ module BeakerHostGenerator
13
13
  # `include BeakerHostGenerator::Data` and then `<function>()`.
14
14
  module Data
15
15
  module_function
16
- MASTER_PE_VERSION=2019.5
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
@@ -33,7 +33,7 @@ module BeakerHostGenerator
33
33
  then "#{PE_TARBALL_SERVER}/archives/releases/#{version}/"
34
34
  when /#{base_regex}-rc\d+\Z/
35
35
  then "#{PE_TARBALL_SERVER}/archives/internal/%s/"
36
- when /#{base_regex}-.*PEZ_.*/
36
+ when /#{base_regex}-.*(PEZ|pez)_.*/
37
37
  then "#{PE_TARBALL_SERVER}/%s/feature/ci-ready"
38
38
  when /#{base_regex}-.*/
39
39
  then "#{PE_TARBALL_SERVER}/%s/ci-ready"
@@ -41,15 +41,12 @@ module BeakerHostGenerator
41
41
  ''
42
42
  end
43
43
 
44
- if(Gem::Version.new($1) < Gem::Version.new("#{MASTER_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/)
45
- pe_branch = $1
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
- #Is this a Master PEZ build?
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}" || ''))
@@ -83,7 +80,27 @@ module BeakerHostGenerator
83
80
  # Hypervisor implementations will then grab specific bits of data out of
84
81
  # this hash and combine them to produce the generated hosts output.
85
82
  def osinfo
86
- {
83
+ result = {}
84
+
85
+ # Fedora
86
+ (19..33).each do |release|
87
+ # 32 bit support was dropped in Fedora 31
88
+ if release < 31
89
+ result["fedora#{release}-32"] = {
90
+ :general => {
91
+ 'platform' => "fedora-#{release}-i386"
92
+ }
93
+ }
94
+ end
95
+
96
+ result["fedora#{release}-64"] = {
97
+ :general => {
98
+ 'platform' => "fedora-#{release}-x86_64"
99
+ }
100
+ }
101
+ end
102
+
103
+ result.merge!({
87
104
  'aix53-POWER' => {
88
105
  :general => {
89
106
  'platform' => 'aix-5.3-power',
@@ -159,26 +176,17 @@ module BeakerHostGenerator
159
176
  'centos4-32' => {
160
177
  :general => {
161
178
  'platform' => 'el-4-i386'
162
- },
163
- :vmpooler => {
164
- 'template' => 'centos-4-i386'
165
179
  }
166
180
  },
167
181
  'centos4-64' => {
168
182
  :general => {
169
183
  'platform' => 'el-4-x86_64'
170
- },
171
- :vmpooler => {
172
- 'template' => 'centos-4-x86_64'
173
184
  }
174
185
  },
175
186
  'centos5-32' => {
176
187
  :general => {
177
188
  'platform' => 'el-5-i386',
178
189
  'packaging_platform' => 'el-5-i386'
179
- },
180
- :vmpooler => {
181
- 'template' => 'centos-5-i386'
182
190
  }
183
191
  },
184
192
  'centos5-64' => {
@@ -192,18 +200,12 @@ module BeakerHostGenerator
192
200
  'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
193
201
  'sed -i -e "/mingetty/d" /etc/inittab'
194
202
  ]
195
- },
196
- :vmpooler => {
197
- 'template' => 'centos-5-x86_64'
198
203
  }
199
204
  },
200
205
  'centos6-32' => {
201
206
  :general => {
202
207
  'platform' => 'el-6-i386',
203
208
  'packaging_platform' => 'el-6-i386'
204
- },
205
- :vmpooler => {
206
- 'template' => 'centos-6-i386'
207
209
  }
208
210
  },
209
211
  'centos6-64' => {
@@ -218,9 +220,6 @@ module BeakerHostGenerator
218
220
  'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
219
221
  'rm /etc/init/tty.conf'
220
222
  ]
221
- },
222
- :vmpooler => {
223
- 'template' => 'centos-6-x86_64'
224
223
  }
225
224
  },
226
225
  'centos7-64' => {
@@ -233,9 +232,6 @@ module BeakerHostGenerator
233
232
  'cp /bin/true /sbin/agetty',
234
233
  'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which ss'
235
234
  ]
236
- },
237
- :vmpooler => {
238
- 'template' => 'centos-7-x86_64'
239
235
  }
240
236
  },
241
237
  'centos8-64' => {
@@ -248,9 +244,6 @@ module BeakerHostGenerator
248
244
  'cp /bin/true /sbin/agetty',
249
245
  'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
250
246
  ]
251
- },
252
- :vmpooler => {
253
- 'template' => 'centos-8-x86_64'
254
247
  }
255
248
  },
256
249
  # Deprecated
@@ -594,239 +587,125 @@ module BeakerHostGenerator
594
587
  'template' => 'debian-10-i386'
595
588
  }
596
589
  },
597
- 'fedora14-32' => {
598
- :general => {
599
- 'platform' => 'fedora-14-i386'
600
- },
601
- :vmpooler => {
602
- 'template' => 'fedora-14-i386'
603
- }
604
- },
605
- 'fedora19-32' => {
606
- :general => {
607
- 'platform' => 'fedora-19-i386'
608
- },
609
- :vmpooler => {
610
- 'template' => 'fedora-19-i386'
611
- }
612
- },
613
- 'fedora19-64' => {
590
+ 'debian11-64' => {
614
591
  :general => {
615
- 'platform' => 'fedora-19-x86_64'
592
+ 'platform' => 'debian-11-amd64',
593
+ 'packaging_platform' => 'debian-11-amd64'
616
594
  },
617
- :vmpooler => {
618
- 'template' => 'fedora-19-x86_64'
619
- }
620
- },
621
- 'fedora20-32' => {
622
- :general => {
623
- 'platform' => 'fedora-20-i386'
624
- },
625
- :vmpooler => {
626
- 'template' => 'fedora-20-i386'
627
- }
628
- },
629
- 'fedora20-64' => {
630
- :general => {
631
- 'platform' => 'fedora-20-x86_64'
632
- },
633
- :vmpooler => {
634
- 'template' => 'fedora-20-x86_64'
635
- }
636
- },
637
- 'fedora21-32' => {
638
- :general => {
639
- 'platform' => 'fedora-21-i386'
640
- },
641
- :vmpooler => {
642
- 'template' => 'fedora-21-i386'
643
- }
644
- },
645
- 'fedora21-64' => {
646
- :general => {
647
- 'platform' => 'fedora-21-x86_64'
648
- },
649
- :vmpooler => {
650
- 'template' => 'fedora-21-x86_64'
651
- }
652
- },
653
- 'fedora22-32' => {
654
- :general => {
655
- 'platform' => 'fedora-22-i386'
656
- },
657
- :vmpooler => {
658
- 'template' => 'fedora-22-i386'
659
- }
660
- },
661
- 'fedora22-64' => {
662
- :general => {
663
- 'platform' => 'fedora-22-x86_64'
664
- },
665
- :vmpooler => {
666
- 'template' => 'fedora-22-x86_64'
667
- }
668
- },
669
- 'fedora23-32' => {
670
- :general => {
671
- 'platform' => 'fedora-23-i386'
672
- },
673
- :vmpooler => {
674
- 'template' => 'fedora-23-i386'
675
- }
676
- },
677
- 'fedora23-64' => {
678
- :general => {
679
- 'platform' => 'fedora-23-x86_64'
680
- },
681
- :vmpooler => {
682
- 'template' => 'fedora-23-x86_64'
683
- }
684
- },
685
- 'fedora24-32' => {
686
- :general => {
687
- 'platform' => 'fedora-24-i386',
688
- 'packaging_platform' => 'fedora-24-i386'
689
- },
690
- :vmpooler => {
691
- 'template' => 'fedora-24-i386'
692
- }
693
- },
694
- 'fedora24-64' => {
695
- :general => {
696
- 'platform' => 'fedora-24-x86_64',
697
- 'packaging_platform' => 'fedora-24-x86_64'
595
+ :vagrant => {
596
+ 'box' => 'debian/bullseye64',
698
597
  },
699
598
  :vmpooler => {
700
- 'template' => 'fedora-24-x86_64'
599
+ 'template' => 'debian-11-x86_64'
701
600
  }
702
601
  },
703
- 'fedora25-32' => {
602
+ 'fedora14-32' => {
704
603
  :general => {
705
- 'platform' => 'fedora-25-i386',
706
- 'packaging_platform' => 'fedora-25-i386'
707
- },
708
- :vmpooler => {
709
- 'template' => 'fedora-25-i386'
604
+ 'platform' => 'fedora-14-i386'
710
605
  }
711
606
  },
712
- 'fedora25-64' => {
607
+ 'huaweios6-POWER' => {
713
608
  :general => {
714
- 'platform' => 'fedora-25-x86_64',
715
- 'packaging_platform' => 'fedora-25-x86_64'
609
+ 'platform' => 'huaweios-6-powerpc'
716
610
  },
717
- :vmpooler => {
718
- 'template' => 'fedora-25-x86_64'
611
+ :abs => {
612
+ 'template' => 'huaweios-6-powerpc'
719
613
  }
720
614
  },
721
- 'fedora26-64' => {
615
+ 'panos61-64' => {
722
616
  :general => {
723
- 'platform' => 'fedora-26-x86_64',
724
- 'packaging_platform' => 'fedora-26-x86_64'
617
+ 'platform' => 'palo-alto-6.1.0-x86_64'
725
618
  },
726
619
  :vmpooler => {
727
- 'template' => 'fedora-26-x86_64'
620
+ 'template' => 'palo-alto-6.1.0-x86_64'
728
621
  }
729
622
  },
730
- 'fedora27-64' => {
623
+ 'panos71-64' => {
731
624
  :general => {
732
- 'platform' => 'fedora-27-x86_64',
733
- 'packaging_platform' => 'fedora-27-x86_64'
625
+ 'platform' => 'palo-alto-7.1.0-x86_64'
734
626
  },
735
627
  :vmpooler => {
736
- 'template' => 'fedora-27-x86_64'
628
+ 'template' => 'palo-alto-7.1.0-x86_64'
737
629
  }
738
630
  },
739
- 'fedora28-64' => {
631
+ 'panos81-64' => {
740
632
  :general => {
741
- 'platform' => 'fedora-28-x86_64',
742
- 'packaging_platform' => 'fedora-28-x86_64'
633
+ 'platform' => 'palo-alto-8.1.0-x86_64'
743
634
  },
744
635
  :vmpooler => {
745
- 'template' => 'fedora-28-x86_64'
636
+ 'template' => 'palo-alto-8.1.0-x86_64'
746
637
  }
747
638
  },
748
- 'fedora29-64' => {
639
+ 'opensuse11-32' => {
749
640
  :general => {
750
- 'platform' => 'fedora-29-x86_64',
751
- 'packaging_platform' => 'fedora-29-x86_64'
641
+ 'platform' => 'opensuse-11-i386'
752
642
  },
753
643
  :vmpooler => {
754
- 'template' => 'fedora-29-x86_64'
644
+ 'template' => 'opensuse-11-i386'
755
645
  }
756
646
  },
757
- 'fedora30-64' => {
647
+ 'opensuse11-64' => {
758
648
  :general => {
759
- 'platform' => 'fedora-30-x86_64',
760
- 'packaging_platform' => 'fedora-30-x86_64'
649
+ 'platform' => 'opensuse-11-x86_64'
761
650
  },
762
651
  :vmpooler => {
763
- 'template' => 'fedora-30-x86_64'
652
+ 'template' => 'opensuse-11-x86_64'
764
653
  }
765
654
  },
766
- 'fedora31-64' => {
655
+ 'opensuse15-32' => {
767
656
  :general => {
768
- 'platform' => 'fedora-31-x86_64',
769
- 'packaging_platform' => 'fedora-31-x86_64'
657
+ 'platform' => 'opensuse-15-i386'
770
658
  },
771
- :vmpooler => {
772
- 'template' => 'fedora-31-x86_64'
773
- }
774
- },
775
- 'fedora32-64' => {
776
- :general => {
777
- 'platform' => 'fedora-32-x86_64',
778
- 'packaging_platform' => 'fedora-32-x86_64'
659
+ :docker => {
660
+ 'docker_image_commands' => [
661
+ 'cp /bin/true /sbin/agetty',
662
+ 'zypper install -y cron iproute2 tar wget which'
663
+ ]
779
664
  },
780
665
  :vmpooler => {
781
- 'template' => 'fedora-32-x86_64'
666
+ 'template' => 'opensuse-15-i386'
782
667
  }
783
668
  },
784
- 'huaweios6-POWER' => {
669
+ 'opensuse15-64' => {
785
670
  :general => {
786
- 'platform' => 'huaweios-6-powerpc'
671
+ 'platform' => 'opensuse-15-x86_64'
787
672
  },
788
- :abs => {
789
- 'template' => 'huaweios-6-powerpc'
790
- }
791
- },
792
- 'panos61-64' => {
793
- :general => {
794
- 'platform' => 'palo-alto-6.1.0-x86_64'
673
+ :docker => {
674
+ 'docker_image_commands' => [
675
+ 'cp /bin/true /sbin/agetty',
676
+ 'zypper install -y cron iproute2 tar wget which'
677
+ ]
795
678
  },
796
679
  :vmpooler => {
797
- 'template' => 'palo-alto-6.1.0-x86_64'
680
+ 'template' => 'opensuse-15-x86_64'
798
681
  }
799
682
  },
800
- 'panos71-64' => {
683
+ 'opensuse42-32' => {
801
684
  :general => {
802
- 'platform' => 'palo-alto-7.1.0-x86_64'
685
+ 'platform' => 'opensuse-42-i386'
803
686
  },
804
- :vmpooler => {
805
- 'template' => 'palo-alto-7.1.0-x86_64'
806
- }
807
- },
808
- 'panos81-64' => {
809
- :general => {
810
- 'platform' => 'palo-alto-8.1.0-x86_64'
687
+ :docker => {
688
+ 'docker_image_commands' => [
689
+ 'cp /bin/true /sbin/agetty',
690
+ 'zypper install -y cron iproute2 tar wget which'
691
+ ]
811
692
  },
812
693
  :vmpooler => {
813
- 'template' => 'palo-alto-8.1.0-x86_64'
694
+ 'template' => 'opensuse-42-i386'
814
695
  }
815
696
  },
816
- 'opensuse11-32' => {
697
+ 'opensuse42-64' => {
817
698
  :general => {
818
- 'platform' => 'opensuse-11-i386'
699
+ 'platform' => 'opensuse-42-x86_64'
819
700
  },
820
- :vmpooler => {
821
- 'template' => 'opensuse-11-i386'
822
- }
823
- },
824
- 'opensuse11-64' => {
825
- :general => {
826
- 'platform' => 'opensuse-11-x86_64'
701
+ :docker => {
702
+ 'docker_image_commands' => [
703
+ 'cp /bin/true /sbin/agetty',
704
+ 'zypper install -y cron iproute2 tar wget which'
705
+ ]
827
706
  },
828
707
  :vmpooler => {
829
- 'template' => 'opensuse-11-x86_64'
708
+ 'template' => 'opensuse-42-x86_64'
830
709
  }
831
710
  },
832
711
  'oracle5-32' => {
@@ -936,6 +815,15 @@ module BeakerHostGenerator
936
815
  'template' => 'osx-1015-x86_64'
937
816
  }
938
817
  },
818
+ 'osx11-64' => {
819
+ :general => {
820
+ 'platform' => 'osx-11-x86_64',
821
+ 'packaging_platform' => 'osx-11-x86_64'
822
+ },
823
+ :vmpooler => {
824
+ 'template' => 'macos-112-x86_64'
825
+ }
826
+ },
939
827
  'redhat4-32' => {
940
828
  :general => {
941
829
  'platform' => 'el-4-i386'
@@ -1060,6 +948,15 @@ module BeakerHostGenerator
1060
948
  'template' => 'redhat-8-x86_64'
1061
949
  }
1062
950
  },
951
+ 'redhat8-POWER' => {
952
+ :general => {
953
+ 'platform' => 'el-8-ppc64le',
954
+ 'packaging_platform' => 'el-8-ppc64le'
955
+ },
956
+ :abs => {
957
+ 'template' => 'redhat-8-power8'
958
+ }
959
+ },
1063
960
  'scientific5-32' => {
1064
961
  :general => {
1065
962
  'platform' => 'el-5-i386',
@@ -1469,6 +1366,15 @@ module BeakerHostGenerator
1469
1366
  'template' => 'ubuntu-2004-x86_64'
1470
1367
  }
1471
1368
  },
1369
+ 'ubuntu2004-AARCH64' => {
1370
+ :general => {
1371
+ 'platform' => 'ubuntu-20.04-aarch64',
1372
+ 'packaging_platform' => 'ubuntu-20.04-aarch64'
1373
+ },
1374
+ :abs => {
1375
+ 'template' => 'ubuntu-2004-arm64'
1376
+ },
1377
+ },
1472
1378
  'vro6-64' => {
1473
1379
  :general => {
1474
1380
  'platform' => 'sles-11-x86_64',
@@ -1940,7 +1846,9 @@ module BeakerHostGenerator
1940
1846
  'template' => 'win-10-1809-x86_64'
1941
1847
  }
1942
1848
  }
1943
- }
1849
+ })
1850
+
1851
+ result
1944
1852
  end
1945
1853
 
1946
1854
  def osinfo_bhgv1
@@ -2062,7 +1970,10 @@ module BeakerHostGenerator
2062
1970
  # }
2063
1971
  def get_platform_info(bhg_version, platform, hypervisor)
2064
1972
  info = get_osinfo(bhg_version)[platform]
2065
- {}.deep_merge!(info[:general]).deep_merge!(info[hypervisor])
1973
+ result = {}
1974
+ result.deep_merge!(info[:general]) if info[:general]
1975
+ result.deep_merge!(info[hypervisor]) if info[hypervisor]
1976
+ result
2066
1977
  end
2067
1978
 
2068
1979
  # Perform any adjustments or modifications necessary to the given node