beaker-hostgenerator 3.1.0 → 3.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d74b8aaebc91af2fb03445c1680951704a1ca95783cf454b8f9d2b46225f5c67
4
- data.tar.gz: 8d13414639cbdc1ede5f668b9ab1dfb21964c20f763580af6fb448e40ec75a5b
3
+ metadata.gz: 8eab72d71ce2ed56cf8641c01b7d2208dff64190935581a461d7e6b19c483b2a
4
+ data.tar.gz: fd7bbbc4ac821298b679c1728b57a3b075eda6c5cfcffa5b86effe0a13494387
5
5
  SHA512:
6
- metadata.gz: 1aeb772fd9fb418f3a26ceb310539cca7316b1a009a80459d040250ddaf7fda51b824d6a7ffe17edf1e6c23eded2e487ad8af45ef1b47b95985eaa6c487aee1f
7
- data.tar.gz: 153796b089fa820f86130ac7d9d4a3e450a78545161baa1b334439a711cd612fd5b862583dff092d763622da3b08055236c30bdc4194aa981b16167668b654aa
6
+ metadata.gz: 6927f4be6aca076dc222bb8f970f0a1c8f6af60cccad22f6aafd389a77fbd7ce46d25ed385b8f438c93f23d0938886bebdec98e3b00c18cba2c96ca3de09fe8f
7
+ data.tar.gz: 2307097f7bd48edce925a4ed8b3e3d3c6487019dd70322f1ec61361c4bf89e38156f8dbefd46e8359849410115dd5f1880e75eb8c441ae46ba7b5f55024c53ea
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [3.2.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/3.2.0) (2025-08-15)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/3.1.0...3.2.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Add data for Almalinux and Rocky 10 [\#426](https://github.com/voxpupuli/beaker-hostgenerator/pull/426) ([traylenator](https://github.com/traylenator))
12
+ - Generate OS X, MacOS, Palo Alto OS, Solaris & VRO in loops [\#425](https://github.com/voxpupuli/beaker-hostgenerator/pull/425) ([ekohl](https://github.com/ekohl))
13
+
5
14
  ## [3.1.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/3.1.0) (2025-08-12)
6
15
 
7
16
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/3.0.0...3.1.0)
@@ -80,12 +80,13 @@ module BeakerHostGenerator
80
80
  def osinfo
81
81
  result = {}
82
82
 
83
- generate_osinfo do |name, platform|
83
+ generate_osinfo do |name, platform, packaging_platform = nil|
84
84
  result[name] = {
85
85
  general: {
86
86
  'platform' => platform,
87
87
  },
88
88
  }
89
+ result[name][:general]['packaging_platform'] = packaging_platform if packaging_platform
89
90
  end
90
91
 
91
92
  result.merge!({
@@ -133,77 +134,6 @@ module BeakerHostGenerator
133
134
  'image' => 'archlinux/archlinux',
134
135
  },
135
136
  },
136
- 'panos61-64' => {
137
- general: {
138
- 'platform' => 'palo-alto-6.1.0-x86_64',
139
- },
140
- },
141
- 'panos71-64' => {
142
- general: {
143
- 'platform' => 'palo-alto-7.1.0-x86_64',
144
- },
145
- },
146
- 'panos81-64' => {
147
- general: {
148
- 'platform' => 'palo-alto-8.1.0-x86_64',
149
- },
150
- },
151
- 'osx1015-64' => {
152
- general: {
153
- 'platform' => 'osx-10.15-x86_64',
154
- },
155
- vmpooler: {
156
- 'template' => 'osx-1015-x86_64',
157
- },
158
- },
159
- 'osx11-64' => {
160
- general: {
161
- 'platform' => 'osx-11-x86_64',
162
- },
163
- vmpooler: {
164
- 'template' => 'macos-112-x86_64',
165
- },
166
- },
167
- 'osx11-ARM64' => {
168
- general: {
169
- 'platform' => 'osx-11-arm64',
170
- },
171
- vmpooler: {
172
- 'template' => 'macos-11-arm64',
173
- },
174
- },
175
- 'osx12-64' => {
176
- general: {
177
- 'platform' => 'osx-12-x86_64',
178
- },
179
- vmpooler: {
180
- 'template' => 'macos-12-x86_64',
181
- },
182
- },
183
- 'osx12-ARM64' => {
184
- general: {
185
- 'platform' => 'osx-12-arm64',
186
- },
187
- vmpooler: {
188
- 'template' => 'macos-12-arm64',
189
- },
190
- },
191
- 'osx13-64' => {
192
- general: {
193
- 'platform' => 'osx-13-x86_64',
194
- },
195
- vmpooler: {
196
- 'template' => 'macos-13-x86_64',
197
- },
198
- },
199
- 'osx13-ARM64' => {
200
- general: {
201
- 'platform' => 'osx-13-arm64',
202
- },
203
- vmpooler: {
204
- 'template' => 'macos-13-arm64',
205
- },
206
- },
207
137
  'redhat7-64' => {
208
138
  general: {
209
139
  'platform' => 'el-7-x86_64',
@@ -337,6 +267,22 @@ module BeakerHostGenerator
337
267
  'template' => 'rocky-9-arm64',
338
268
  },
339
269
  },
270
+ 'rocky10-64' => {
271
+ general: {
272
+ 'platform' => 'el-10-x86_64',
273
+ },
274
+ },
275
+ 'rocky10-AARCH64' => {
276
+ general: {
277
+ 'platform' => 'el-10-aarch64',
278
+ },
279
+ abs: {
280
+ 'template' => 'rocky-10-arm64',
281
+ },
282
+ vmpooler: {
283
+ 'template' => 'rocky-10-arm64',
284
+ },
285
+ },
340
286
  'almalinux8-64' => {
341
287
  general: {
342
288
  'platform' => 'el-8-x86_64',
@@ -358,6 +304,22 @@ module BeakerHostGenerator
358
304
  'template' => 'almalinux-9-arm64',
359
305
  },
360
306
  },
307
+ 'almalinux10-64' => {
308
+ general: {
309
+ 'platform' => 'el-10-x86_64',
310
+ },
311
+ },
312
+ 'almalinux10-AARCH64' => {
313
+ general: {
314
+ 'platform' => 'el-10-aarch64',
315
+ },
316
+ abs: {
317
+ 'template' => 'almalinux-10-arm64',
318
+ },
319
+ vmpooler: {
320
+ 'template' => 'almalinux-10-arm64',
321
+ },
322
+ },
361
323
  'redhat9-POWER' => {
362
324
  general: {
363
325
  'platform' => 'el-9-ppc64le',
@@ -427,130 +389,6 @@ module BeakerHostGenerator
427
389
  'template' => 'sles-15-x86_64',
428
390
  },
429
391
  },
430
- 'solaris10-32' => {
431
- general: {
432
- 'platform' => 'solaris-10-i386',
433
- },
434
- vmpooler: {
435
- 'template' => 'solaris-10-x86_64',
436
- },
437
- },
438
- 'solaris10-64' => {
439
- general: {
440
- 'platform' => 'solaris-10-i386',
441
- },
442
- vmpooler: {
443
- 'template' => 'solaris-10-x86_64',
444
- },
445
- },
446
- 'solaris10-SPARC' => {
447
- general: {
448
- 'platform' => 'solaris-10-sparc',
449
- },
450
- abs: {
451
- 'template' => 'solaris-10-sparc',
452
- },
453
- },
454
- 'solaris11-32' => {
455
- general: {
456
- 'platform' => 'solaris-11-i386',
457
- },
458
- vmpooler: {
459
- 'template' => 'solaris-11-x86_64',
460
- },
461
- },
462
- 'solaris11-64' => {
463
- general: {
464
- 'platform' => 'solaris-11-i386',
465
- },
466
- vmpooler: {
467
- 'template' => 'solaris-11-x86_64',
468
- },
469
- },
470
- 'solaris11-SPARC' => {
471
- general: {
472
- 'platform' => 'solaris-11-sparc',
473
- },
474
- abs: {
475
- 'template' => 'solaris-11-sparc',
476
- },
477
- },
478
- 'solaris112-32' => {
479
- general: {
480
- 'platform' => 'solaris-11.2-i386',
481
- 'packaging_platform' => 'solaris-11-i386',
482
- },
483
- vmpooler: {
484
- 'template' => 'solaris-112-x86_64',
485
- },
486
- },
487
- 'solaris112-64' => {
488
- general: {
489
- 'platform' => 'solaris-11.2-i386',
490
- 'packaging_platform' => 'solaris-11-i386',
491
- },
492
- vmpooler: {
493
- 'template' => 'solaris-112-x86_64',
494
- },
495
- },
496
- 'solaris114-32' => {
497
- general: {
498
- 'platform' => 'solaris-11.4-i386',
499
- 'packaging_platform' => 'solaris-11-i386',
500
- },
501
- vmpooler: {
502
- 'template' => 'solaris-114-x86_64',
503
- },
504
- },
505
- 'solaris114-64' => {
506
- general: {
507
- 'platform' => 'solaris-11.4-i386',
508
- 'packaging_platform' => 'solaris-11-i386',
509
- },
510
- vmpooler: {
511
- 'template' => 'solaris-114-x86_64',
512
- },
513
- },
514
- 'vro6-64' => {
515
- general: {
516
- 'platform' => 'sles-11-x86_64',
517
- },
518
- vmpooler: {
519
- 'template' => 'vro-6-x86_64',
520
- },
521
- },
522
- 'vro7-64' => {
523
- general: {
524
- 'platform' => 'sles-11-x86_64',
525
- },
526
- vmpooler: {
527
- 'template' => 'vro-7-x86_64',
528
- },
529
- },
530
- 'vro71-64' => {
531
- general: {
532
- 'platform' => 'sles-11-x86_64',
533
- },
534
- vmpooler: {
535
- 'template' => 'vro-71-x86_64',
536
- },
537
- },
538
- 'vro73-64' => {
539
- general: {
540
- 'platform' => 'sles-11-x86_64',
541
- },
542
- vmpooler: {
543
- 'template' => 'vro-73-x86_64',
544
- },
545
- },
546
- 'vro74-64' => {
547
- general: {
548
- 'platform' => 'sles-11-x86_64',
549
- },
550
- vmpooler: {
551
- 'template' => 'vro-74-x86_64',
552
- },
553
- },
554
392
  'windows2008-64' => {
555
393
  general: {
556
394
  'platform' => 'windows-2008-64',
@@ -1164,10 +1002,33 @@ module BeakerHostGenerator
1164
1002
  end
1165
1003
 
1166
1004
  # macOS
1167
- yield %w[osx14-64 osx-14-x86_64]
1168
- yield %w[osx14-ARM64 osx-14-arm64]
1169
- yield %w[osx15-ARM64 osx-15-arm64]
1170
- yield %w[osx15-64 osx-15-x86_64]
1005
+ yield %w[osx1015-64 osx-10.15-x86_64]
1006
+ (11..15).each do |release|
1007
+ yield ["osx#{release}-64", "osx-#{release}-x86_64"]
1008
+ yield ["osx#{release}-ARM64", "osx-#{release}-arm64"]
1009
+ end
1010
+
1011
+ # Palo Alto OS
1012
+ yield %w[panos61-64 palo-alto-6.1.0-x86_64]
1013
+ yield %w[panos71-64 palo-alto-7.1.0-x86_64]
1014
+ yield %w[panos81-64 palo-alto-8.1.0-x86_64]
1015
+
1016
+ # Solaris
1017
+ (10..11).each do |release|
1018
+ yield ["solaris#{release}-32", "solaris-#{release}-i386"]
1019
+ # This is not a typo, 64 bits is i386
1020
+ yield ["solaris#{release}-64", "solaris-#{release}-i386"]
1021
+ yield ["solaris#{release}-SPARC", "solaris-#{release}-sparc"]
1022
+ end
1023
+ yield ['solaris112-32', 'solaris-11.2-i386', 'solaris-11-i386']
1024
+ yield ['solaris112-64', 'solaris-11.2-i386', 'solaris-11-i386']
1025
+ yield ['solaris114-32', 'solaris-11.4-i386', 'solaris-11-i386']
1026
+ yield ['solaris114-64', 'solaris-11.4-i386', 'solaris-11-i386']
1027
+
1028
+ # VRO
1029
+ %w[6 7 71 73 74].each do |release|
1030
+ yield ["vro#{release}-64", 'sles-11-x86_64']
1031
+ end
1171
1032
  end
1172
1033
  end
1173
1034
  end
@@ -46,6 +46,11 @@ module BeakerHostGenerator
46
46
  base_config['template'] ||= "#{base_template}-#{arch}"
47
47
  when /^osx/
48
48
  base_config['template'] ||= base_config['platform']&.gsub(/^osx/, 'macos')
49
+ when /^solaris(\d+)/
50
+ version = Regexp.last_match(1)
51
+ arch = (node_info['bits'] == 'SPARC') ? 'sparc' : nil
52
+
53
+ base_config['template'] ||= "solaris-#{version}-#{arch}" if arch
49
54
  end
50
55
 
51
56
  base_config
@@ -22,7 +22,7 @@ module BeakerHostGenerator
22
22
  base_config['template'] ||= base_config['platform']&.gsub(/^el/, ::Regexp.last_match(1))
23
23
  when /^fedora/, /^opensuse/, /^panos/
24
24
  base_config['template'] ||= base_config['platform']
25
- when /^(debian|ubuntu)/
25
+ when /^(debian|ubuntu|vro)/
26
26
  os = Regexp.last_match(1)
27
27
  arch = case node_info['bits']
28
28
  when '64'
@@ -32,6 +32,28 @@ module BeakerHostGenerator
32
32
  end
33
33
 
34
34
  base_config['template'] ||= "#{node_info['ostype'].sub(os, "#{os}-")}-#{arch}" if arch
35
+ when /^osx(\d+)/
36
+ version = Regexp.last_match(1)
37
+ arch = case node_info['bits']
38
+ when '64'
39
+ 'x86_64'
40
+ when 'ARM64'
41
+ 'arm64'
42
+ end
43
+ name = version.start_with?('10') ? 'osx' : 'macos'
44
+ # Weird exception, but ok
45
+ version = '112' if version == '11' && arch == 'x86_64'
46
+
47
+ base_config['template'] ||= "#{name}-#{version}-#{arch}"
48
+ when /^solaris(\d+)/
49
+ version = Regexp.last_match(1)
50
+ # for some reason 32 bits is also using x86_64
51
+ arch = case node_info['bits']
52
+ when '64', '32'
53
+ 'x86_64'
54
+ end
55
+
56
+ base_config['template'] ||= "solaris-#{version}-#{arch}" if arch
35
57
  end
36
58
 
37
59
  base_config
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '3.1.0'
3
+ STRING = '3.2.0'
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: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley