beaker-hostgenerator 1.2.10 → 1.6.0

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.
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
 
@@ -80,7 +80,76 @@ module BeakerHostGenerator
80
80
  # Hypervisor implementations will then grab specific bits of data out of
81
81
  # this hash and combine them to produce the generated hosts output.
82
82
  def osinfo
83
- {
83
+ result = {}
84
+
85
+ # Fedora
86
+ (19..34).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
+ # Ubuntu
104
+ #
105
+ # Generate LTS platforms
106
+ (14..20).select(&:even?).each do |release|
107
+ # 32 bit support was dropped in Ubuntu 18.04
108
+ if release < 18
109
+ result["ubuntu#{release}04-32"] = {
110
+ :general => {
111
+ 'platform' => "ubuntu-#{release}.04-i386"
112
+ }
113
+ }
114
+ end
115
+
116
+ result["ubuntu#{release}04-64"] = {
117
+ :general => {
118
+ 'platform' => "ubuntu-#{release}.04-amd64"
119
+ }
120
+ }
121
+
122
+ result["ubuntu#{release}04-POWER"] = {
123
+ :general => {
124
+ 'platform' => "ubuntu-#{release}.04-ppc64el"
125
+ }
126
+ }
127
+
128
+ result["ubuntu#{release}04-AARCH64"] = {
129
+ :general => {
130
+ 'platform' => "ubuntu-#{release}.04-aarch64"
131
+ }
132
+ }
133
+ end
134
+
135
+ # Generate STS platforms
136
+ [20, 21].each do |release|
137
+ unless release.even?
138
+ result["ubuntu#{release}04-64"] = {
139
+ :general => {
140
+ 'platform' => "ubuntu-#{release}.04-amd64"
141
+ }
142
+ }
143
+ end
144
+
145
+ result["ubuntu#{release}10-64"] = {
146
+ :general => {
147
+ 'platform' => "ubuntu-#{release}.10-amd64"
148
+ }
149
+ }
150
+ end
151
+
152
+ result.merge!({
84
153
  'aix53-POWER' => {
85
154
  :general => {
86
155
  'platform' => 'aix-5.3-power',
@@ -156,26 +225,17 @@ module BeakerHostGenerator
156
225
  'centos4-32' => {
157
226
  :general => {
158
227
  'platform' => 'el-4-i386'
159
- },
160
- :vmpooler => {
161
- 'template' => 'centos-4-i386'
162
228
  }
163
229
  },
164
230
  'centos4-64' => {
165
231
  :general => {
166
232
  'platform' => 'el-4-x86_64'
167
- },
168
- :vmpooler => {
169
- 'template' => 'centos-4-x86_64'
170
233
  }
171
234
  },
172
235
  'centos5-32' => {
173
236
  :general => {
174
237
  'platform' => 'el-5-i386',
175
238
  'packaging_platform' => 'el-5-i386'
176
- },
177
- :vmpooler => {
178
- 'template' => 'centos-5-i386'
179
239
  }
180
240
  },
181
241
  'centos5-64' => {
@@ -189,18 +249,12 @@ module BeakerHostGenerator
189
249
  'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
190
250
  'sed -i -e "/mingetty/d" /etc/inittab'
191
251
  ]
192
- },
193
- :vmpooler => {
194
- 'template' => 'centos-5-x86_64'
195
252
  }
196
253
  },
197
254
  'centos6-32' => {
198
255
  :general => {
199
256
  'platform' => 'el-6-i386',
200
257
  'packaging_platform' => 'el-6-i386'
201
- },
202
- :vmpooler => {
203
- 'template' => 'centos-6-i386'
204
258
  }
205
259
  },
206
260
  'centos6-64' => {
@@ -215,9 +269,6 @@ module BeakerHostGenerator
215
269
  'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which',
216
270
  'rm /etc/init/tty.conf'
217
271
  ]
218
- },
219
- :vmpooler => {
220
- 'template' => 'centos-6-x86_64'
221
272
  }
222
273
  },
223
274
  'centos7-64' => {
@@ -230,9 +281,6 @@ module BeakerHostGenerator
230
281
  'cp /bin/true /sbin/agetty',
231
282
  'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which ss'
232
283
  ]
233
- },
234
- :vmpooler => {
235
- 'template' => 'centos-7-x86_64'
236
284
  }
237
285
  },
238
286
  'centos8-64' => {
@@ -245,9 +293,6 @@ module BeakerHostGenerator
245
293
  'cp /bin/true /sbin/agetty',
246
294
  'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en'
247
295
  ]
248
- },
249
- :vmpooler => {
250
- 'template' => 'centos-8-x86_64'
251
296
  }
252
297
  },
253
298
  # Deprecated
@@ -591,239 +636,132 @@ module BeakerHostGenerator
591
636
  'template' => 'debian-10-i386'
592
637
  }
593
638
  },
594
- 'fedora14-32' => {
595
- :general => {
596
- 'platform' => 'fedora-14-i386'
597
- },
598
- :vmpooler => {
599
- 'template' => 'fedora-14-i386'
600
- }
601
- },
602
- 'fedora19-32' => {
639
+ 'debian11-64' => {
603
640
  :general => {
604
- 'platform' => 'fedora-19-i386'
641
+ 'platform' => 'debian-11-amd64',
642
+ 'packaging_platform' => 'debian-11-amd64'
605
643
  },
606
- :vmpooler => {
607
- 'template' => 'fedora-19-i386'
608
- }
609
- },
610
- 'fedora19-64' => {
611
- :general => {
612
- 'platform' => 'fedora-19-x86_64'
613
- },
614
- :vmpooler => {
615
- 'template' => 'fedora-19-x86_64'
616
- }
617
- },
618
- 'fedora20-32' => {
619
- :general => {
620
- 'platform' => 'fedora-20-i386'
621
- },
622
- :vmpooler => {
623
- 'template' => 'fedora-20-i386'
624
- }
625
- },
626
- 'fedora20-64' => {
627
- :general => {
628
- 'platform' => 'fedora-20-x86_64'
629
- },
630
- :vmpooler => {
631
- 'template' => 'fedora-20-x86_64'
632
- }
633
- },
634
- 'fedora21-32' => {
635
- :general => {
636
- 'platform' => 'fedora-21-i386'
637
- },
638
- :vmpooler => {
639
- 'template' => 'fedora-21-i386'
640
- }
641
- },
642
- 'fedora21-64' => {
643
- :general => {
644
- 'platform' => 'fedora-21-x86_64'
645
- },
646
- :vmpooler => {
647
- 'template' => 'fedora-21-x86_64'
648
- }
649
- },
650
- 'fedora22-32' => {
651
- :general => {
652
- 'platform' => 'fedora-22-i386'
653
- },
654
- :vmpooler => {
655
- 'template' => 'fedora-22-i386'
656
- }
657
- },
658
- 'fedora22-64' => {
659
- :general => {
660
- 'platform' => 'fedora-22-x86_64'
661
- },
662
- :vmpooler => {
663
- 'template' => 'fedora-22-x86_64'
664
- }
665
- },
666
- 'fedora23-32' => {
667
- :general => {
668
- 'platform' => 'fedora-23-i386'
669
- },
670
- :vmpooler => {
671
- 'template' => 'fedora-23-i386'
672
- }
673
- },
674
- 'fedora23-64' => {
675
- :general => {
676
- 'platform' => 'fedora-23-x86_64'
677
- },
678
- :vmpooler => {
679
- 'template' => 'fedora-23-x86_64'
680
- }
681
- },
682
- 'fedora24-32' => {
683
- :general => {
684
- 'platform' => 'fedora-24-i386',
685
- 'packaging_platform' => 'fedora-24-i386'
644
+ :docker => {
645
+ 'docker_image_commands' => [
646
+ 'cp /bin/true /sbin/agetty',
647
+ 'rm -f /usr/sbin/policy-rc.d',
648
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg'
649
+ ]
686
650
  },
687
- :vmpooler => {
688
- 'template' => 'fedora-24-i386'
689
- }
690
- },
691
- 'fedora24-64' => {
692
- :general => {
693
- 'platform' => 'fedora-24-x86_64',
694
- 'packaging_platform' => 'fedora-24-x86_64'
651
+ :vagrant => {
652
+ 'box' => 'debian/bullseye64',
695
653
  },
696
654
  :vmpooler => {
697
- 'template' => 'fedora-24-x86_64'
655
+ 'template' => 'debian-11-x86_64'
698
656
  }
699
657
  },
700
- 'fedora25-32' => {
658
+ 'fedora14-32' => {
701
659
  :general => {
702
- 'platform' => 'fedora-25-i386',
703
- 'packaging_platform' => 'fedora-25-i386'
704
- },
705
- :vmpooler => {
706
- 'template' => 'fedora-25-i386'
660
+ 'platform' => 'fedora-14-i386'
707
661
  }
708
662
  },
709
- 'fedora25-64' => {
663
+ 'huaweios6-POWER' => {
710
664
  :general => {
711
- 'platform' => 'fedora-25-x86_64',
712
- 'packaging_platform' => 'fedora-25-x86_64'
665
+ 'platform' => 'huaweios-6-powerpc'
713
666
  },
714
- :vmpooler => {
715
- 'template' => 'fedora-25-x86_64'
667
+ :abs => {
668
+ 'template' => 'huaweios-6-powerpc'
716
669
  }
717
670
  },
718
- 'fedora26-64' => {
671
+ 'panos61-64' => {
719
672
  :general => {
720
- 'platform' => 'fedora-26-x86_64',
721
- 'packaging_platform' => 'fedora-26-x86_64'
673
+ 'platform' => 'palo-alto-6.1.0-x86_64'
722
674
  },
723
675
  :vmpooler => {
724
- 'template' => 'fedora-26-x86_64'
676
+ 'template' => 'palo-alto-6.1.0-x86_64'
725
677
  }
726
678
  },
727
- 'fedora27-64' => {
679
+ 'panos71-64' => {
728
680
  :general => {
729
- 'platform' => 'fedora-27-x86_64',
730
- 'packaging_platform' => 'fedora-27-x86_64'
681
+ 'platform' => 'palo-alto-7.1.0-x86_64'
731
682
  },
732
683
  :vmpooler => {
733
- 'template' => 'fedora-27-x86_64'
684
+ 'template' => 'palo-alto-7.1.0-x86_64'
734
685
  }
735
686
  },
736
- 'fedora28-64' => {
687
+ 'panos81-64' => {
737
688
  :general => {
738
- 'platform' => 'fedora-28-x86_64',
739
- 'packaging_platform' => 'fedora-28-x86_64'
689
+ 'platform' => 'palo-alto-8.1.0-x86_64'
740
690
  },
741
691
  :vmpooler => {
742
- 'template' => 'fedora-28-x86_64'
692
+ 'template' => 'palo-alto-8.1.0-x86_64'
743
693
  }
744
694
  },
745
- 'fedora29-64' => {
695
+ 'opensuse11-32' => {
746
696
  :general => {
747
- 'platform' => 'fedora-29-x86_64',
748
- 'packaging_platform' => 'fedora-29-x86_64'
697
+ 'platform' => 'opensuse-11-i386'
749
698
  },
750
699
  :vmpooler => {
751
- 'template' => 'fedora-29-x86_64'
700
+ 'template' => 'opensuse-11-i386'
752
701
  }
753
702
  },
754
- 'fedora30-64' => {
703
+ 'opensuse11-64' => {
755
704
  :general => {
756
- 'platform' => 'fedora-30-x86_64',
757
- 'packaging_platform' => 'fedora-30-x86_64'
705
+ 'platform' => 'opensuse-11-x86_64'
758
706
  },
759
707
  :vmpooler => {
760
- 'template' => 'fedora-30-x86_64'
708
+ 'template' => 'opensuse-11-x86_64'
761
709
  }
762
710
  },
763
- 'fedora31-64' => {
711
+ 'opensuse15-32' => {
764
712
  :general => {
765
- 'platform' => 'fedora-31-x86_64',
766
- 'packaging_platform' => 'fedora-31-x86_64'
713
+ 'platform' => 'opensuse-15-i386'
767
714
  },
768
- :vmpooler => {
769
- 'template' => 'fedora-31-x86_64'
770
- }
771
- },
772
- 'fedora32-64' => {
773
- :general => {
774
- 'platform' => 'fedora-32-x86_64',
775
- 'packaging_platform' => 'fedora-32-x86_64'
715
+ :docker => {
716
+ 'docker_image_commands' => [
717
+ 'cp /bin/true /sbin/agetty',
718
+ 'zypper install -y cron iproute2 tar wget which'
719
+ ]
776
720
  },
777
721
  :vmpooler => {
778
- 'template' => 'fedora-32-x86_64'
722
+ 'template' => 'opensuse-15-i386'
779
723
  }
780
724
  },
781
- 'huaweios6-POWER' => {
725
+ 'opensuse15-64' => {
782
726
  :general => {
783
- 'platform' => 'huaweios-6-powerpc'
727
+ 'platform' => 'opensuse-15-x86_64'
784
728
  },
785
- :abs => {
786
- 'template' => 'huaweios-6-powerpc'
787
- }
788
- },
789
- 'panos61-64' => {
790
- :general => {
791
- 'platform' => 'palo-alto-6.1.0-x86_64'
729
+ :docker => {
730
+ 'docker_image_commands' => [
731
+ 'cp /bin/true /sbin/agetty',
732
+ 'zypper install -y cron iproute2 tar wget which'
733
+ ]
792
734
  },
793
735
  :vmpooler => {
794
- 'template' => 'palo-alto-6.1.0-x86_64'
736
+ 'template' => 'opensuse-15-x86_64'
795
737
  }
796
738
  },
797
- 'panos71-64' => {
739
+ 'opensuse42-32' => {
798
740
  :general => {
799
- 'platform' => 'palo-alto-7.1.0-x86_64'
741
+ 'platform' => 'opensuse-42-i386'
800
742
  },
801
- :vmpooler => {
802
- 'template' => 'palo-alto-7.1.0-x86_64'
803
- }
804
- },
805
- 'panos81-64' => {
806
- :general => {
807
- 'platform' => 'palo-alto-8.1.0-x86_64'
743
+ :docker => {
744
+ 'docker_image_commands' => [
745
+ 'cp /bin/true /sbin/agetty',
746
+ 'zypper install -y cron iproute2 tar wget which'
747
+ ]
808
748
  },
809
749
  :vmpooler => {
810
- 'template' => 'palo-alto-8.1.0-x86_64'
750
+ 'template' => 'opensuse-42-i386'
811
751
  }
812
752
  },
813
- 'opensuse11-32' => {
753
+ 'opensuse42-64' => {
814
754
  :general => {
815
- 'platform' => 'opensuse-11-i386'
755
+ 'platform' => 'opensuse-42-x86_64'
816
756
  },
817
- :vmpooler => {
818
- 'template' => 'opensuse-11-i386'
819
- }
820
- },
821
- 'opensuse11-64' => {
822
- :general => {
823
- 'platform' => 'opensuse-11-x86_64'
757
+ :docker => {
758
+ 'docker_image_commands' => [
759
+ 'cp /bin/true /sbin/agetty',
760
+ 'zypper install -y cron iproute2 tar wget which'
761
+ ]
824
762
  },
825
763
  :vmpooler => {
826
- 'template' => 'opensuse-11-x86_64'
764
+ 'template' => 'opensuse-42-x86_64'
827
765
  }
828
766
  },
829
767
  'oracle5-32' => {
@@ -933,6 +871,15 @@ module BeakerHostGenerator
933
871
  'template' => 'osx-1015-x86_64'
934
872
  }
935
873
  },
874
+ 'osx11-64' => {
875
+ :general => {
876
+ 'platform' => 'osx-11-x86_64',
877
+ 'packaging_platform' => 'osx-11-x86_64'
878
+ },
879
+ :vmpooler => {
880
+ 'template' => 'macos-112-x86_64'
881
+ }
882
+ },
936
883
  'redhat4-32' => {
937
884
  :general => {
938
885
  'platform' => 'el-4-i386'
@@ -1057,6 +1004,15 @@ module BeakerHostGenerator
1057
1004
  'template' => 'redhat-8-x86_64'
1058
1005
  }
1059
1006
  },
1007
+ 'redhat8-POWER' => {
1008
+ :general => {
1009
+ 'platform' => 'el-8-ppc64le',
1010
+ 'packaging_platform' => 'el-8-ppc64le'
1011
+ },
1012
+ :abs => {
1013
+ 'template' => 'redhat-8-power8'
1014
+ }
1015
+ },
1060
1016
  'scientific5-32' => {
1061
1017
  :general => {
1062
1018
  'platform' => 'el-5-i386',
@@ -1265,216 +1221,6 @@ module BeakerHostGenerator
1265
1221
  'template' => 'solaris-114-x86_64'
1266
1222
  }
1267
1223
  },
1268
- 'ubuntu1004-32' => {
1269
- :general => {
1270
- 'platform' => 'ubuntu-10.04-i386'
1271
- },
1272
- :vmpooler => {
1273
- 'template' => 'ubuntu-1004-i386'
1274
- }
1275
- },
1276
- 'ubuntu1004-64' => {
1277
- :general => {
1278
- 'platform' => 'ubuntu-10.04-amd64'
1279
- },
1280
- :vmpooler => {
1281
- 'template' => 'ubuntu-1004-x86_64'
1282
- }
1283
- },
1284
- 'ubuntu1204-32' => {
1285
- :general => {
1286
- 'platform' => 'ubuntu-12.04-i386'
1287
- },
1288
- :vmpooler => {
1289
- 'template' => 'ubuntu-1204-i386'
1290
- }
1291
- },
1292
- 'ubuntu1204-64' => {
1293
- :general => {
1294
- 'platform' => 'ubuntu-12.04-amd64'
1295
- },
1296
- :docker => {
1297
- 'docker_image_commands' => [
1298
- 'cp /bin/true /sbin/agetty',
1299
- 'apt-get install -y net-tools wget',
1300
- 'locale-gen en_US.UTF-8'
1301
- ]
1302
- },
1303
- :vmpooler => {
1304
- 'template' => 'ubuntu-1204-x86_64'
1305
- }
1306
- },
1307
- 'ubuntu1404-32' => {
1308
- :general => {
1309
- 'platform' => 'ubuntu-14.04-i386',
1310
- 'packaging_platform' => 'ubuntu-14.04-i386'
1311
- },
1312
- :vmpooler => {
1313
- 'template' => 'ubuntu-1404-i386'
1314
- }
1315
- },
1316
- 'ubuntu1404-64' => {
1317
- :general => {
1318
- 'platform' => 'ubuntu-14.04-amd64',
1319
- 'packaging_platform' => 'ubuntu-14.04-amd64'
1320
- },
1321
- :docker => {
1322
- 'docker_image_commands' => [
1323
- 'cp /bin/true /sbin/agetty',
1324
- 'rm /usr/sbin/policy-rc.d',
1325
- 'rm /sbin/initctl; dpkg-divert --rename --remove /sbin/initctl',
1326
- 'apt-get install -y net-tools wget apt-transport-https',
1327
- 'locale-gen en_US.UTF-8',
1328
- 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1329
- ]
1330
- },
1331
- :vmpooler => {
1332
- 'template' => 'ubuntu-1404-x86_64'
1333
- }
1334
- },
1335
- 'ubuntu1504-32' => {
1336
- :general => {
1337
- 'platform' => 'ubuntu-15.04-i386'
1338
- },
1339
- :vmpooler => {
1340
- 'template' => 'ubuntu-1504-i386'
1341
- }
1342
- },
1343
- 'ubuntu1504-64' => {
1344
- :general => {
1345
- 'platform' => 'ubuntu-15.04-amd64'
1346
- },
1347
- :vmpooler => {
1348
- 'template' => 'ubuntu-1504-x86_64'
1349
- }
1350
- },
1351
- 'ubuntu1510-32' => {
1352
- :general => {
1353
- 'platform' => 'ubuntu-15.10-i386'
1354
- },
1355
- :vmpooler => {
1356
- 'template' => 'ubuntu-1510-i386'
1357
- }
1358
- },
1359
- 'ubuntu1510-64' => {
1360
- :general => {
1361
- 'platform' => 'ubuntu-15.10-amd64'
1362
- },
1363
- :vmpooler => {
1364
- 'template' => 'ubuntu-1510-x86_64'
1365
- }
1366
- },
1367
- 'ubuntu1604-32' => {
1368
- :general => {
1369
- 'platform' => 'ubuntu-16.04-i386',
1370
- 'packaging_platform' => 'ubuntu-16.04-i386'
1371
- },
1372
- :vmpooler => {
1373
- 'template' => 'ubuntu-1604-i386'
1374
- }
1375
- },
1376
- 'ubuntu1604-64' => {
1377
- :general => {
1378
- 'platform' => 'ubuntu-16.04-amd64',
1379
- 'packaging_platform' => 'ubuntu-16.04-amd64'
1380
- },
1381
- :docker => {
1382
- 'docker_image_commands' => [
1383
- 'cp /bin/true /sbin/agetty',
1384
- 'apt-get install -y net-tools wget locales apt-transport-https',
1385
- 'locale-gen en_US.UTF-8',
1386
- 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1387
- ]
1388
- },
1389
- :vmpooler => {
1390
- 'template' => 'ubuntu-1604-x86_64'
1391
- }
1392
- },
1393
- 'ubuntu1604-POWER' => {
1394
- :general => {
1395
- 'platform' => 'ubuntu-16.04-ppc64el',
1396
- 'packaging_platform' => 'ubuntu-16.04-ppc64el'
1397
- },
1398
- :abs => {
1399
- 'template' => 'ubuntu-16.04-power8'
1400
- }
1401
- },
1402
- 'ubuntu1610-32' => {
1403
- :general => {
1404
- 'platform' => 'ubuntu-16.10-i386'
1405
- },
1406
- :vmpooler => {
1407
- 'template' => 'ubuntu-1610-i386'
1408
- }
1409
- },
1410
- 'ubuntu1610-64' => {
1411
- :general => {
1412
- 'platform' => 'ubuntu-16.10-amd64'
1413
- },
1414
- :vmpooler => {
1415
- 'template' => 'ubuntu-1610-x86_64'
1416
- }
1417
- },
1418
- 'ubuntu1804-64' => {
1419
- :general => {
1420
- 'platform' => 'ubuntu-18.04-amd64',
1421
- 'packaging_platform' => 'ubuntu-18.04-amd64'
1422
- },
1423
- :docker => {
1424
- 'docker_image_commands' => [
1425
- 'cp /bin/true /sbin/agetty',
1426
- 'apt-get install -y net-tools wget locales apt-transport-https iproute2 gnupg',
1427
- 'locale-gen en_US.UTF-8',
1428
- 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1429
- ]
1430
- },
1431
- :vmpooler => {
1432
- 'template' => 'ubuntu-1804-x86_64'
1433
- }
1434
- },
1435
- 'ubuntu1810-64' => {
1436
- :general => {
1437
- 'platform' => 'ubuntu-18.10-amd64',
1438
- 'packaging_platform' => 'ubuntu-18.10-amd64'
1439
- },
1440
- :docker => {
1441
- 'docker_image_commands' => [
1442
- 'cp /bin/true /sbin/agetty',
1443
- 'apt-get install -y net-tools wget locales apt-transport-https iproute2',
1444
- 'locale-gen en_US.UTF-8',
1445
- 'echo LANG=en_US.UTF-8 > /etc/default/locale'
1446
- ]
1447
- },
1448
- :vmpooler => {
1449
- 'template' => 'ubuntu-1810-x86_64'
1450
- }
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
- },
1478
1224
  'vro6-64' => {
1479
1225
  :general => {
1480
1226
  'platform' => 'sles-11-x86_64',
@@ -1946,7 +1692,9 @@ module BeakerHostGenerator
1946
1692
  'template' => 'win-10-1809-x86_64'
1947
1693
  }
1948
1694
  }
1949
- }
1695
+ })
1696
+
1697
+ result
1950
1698
  end
1951
1699
 
1952
1700
  def osinfo_bhgv1
@@ -2022,9 +1770,9 @@ module BeakerHostGenerator
2022
1770
  def get_osinfo(bhg_version)
2023
1771
  case bhg_version
2024
1772
  when 0
2025
- {}.deep_merge!(osinfo)
1773
+ {}.deeper_merge!(osinfo)
2026
1774
  when 1
2027
- {}.deep_merge!(osinfo).deep_merge!(osinfo_bhgv1)
1775
+ {}.deeper_merge!(osinfo).deeper_merge!(osinfo_bhgv1)
2028
1776
  else
2029
1777
  raise "Invalid beaker-hostgenerator version: #{bhg_version}"
2030
1778
  end
@@ -2068,7 +1816,7 @@ module BeakerHostGenerator
2068
1816
  # }
2069
1817
  def get_platform_info(bhg_version, platform, hypervisor)
2070
1818
  info = get_osinfo(bhg_version)[platform]
2071
- {}.deep_merge!(info[:general]).deep_merge!(info[hypervisor])
1819
+ {}.deeper_merge!(info[:general]).deeper_merge!(info[hypervisor])
2072
1820
  end
2073
1821
 
2074
1822
  # Perform any adjustments or modifications necessary to the given node