beaker-hostgenerator 2.1.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,14 +15,14 @@ module BeakerHostGenerator
15
15
  module_function
16
16
 
17
17
  MAIN_PE_VERSION = '2023.0'
18
- PE_TARBALL_SERVER = "https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local"
18
+ PE_TARBALL_SERVER = 'https://artifactory.delivery.puppetlabs.net/artifactory/generic_enterprise__local'
19
19
 
20
20
  def pe_version
21
- ENV['pe_version']
21
+ ENV.fetch('pe_version', nil)
22
22
  end
23
23
 
24
24
  def pe_upgrade_version
25
- ENV['pe_upgrade_version']
25
+ ENV.fetch('pe_upgrade_version', nil)
26
26
  end
27
27
 
28
28
  def pe_dir(version)
@@ -30,30 +30,30 @@ module BeakerHostGenerator
30
30
 
31
31
  base_regex = '(\A\d+\.\d+)\.\d+'
32
32
  source = case version
33
- when /#{base_regex}\Z/
34
- then "#{PE_TARBALL_SERVER}/archives/releases/#{version}/"
35
- when /#{base_regex}-rc\d+\Z/
36
- then "#{PE_TARBALL_SERVER}/archives/internal/%s/"
37
- when /#{base_regex}-.*(PEZ|pez)_.*/
38
- then "#{PE_TARBALL_SERVER}/%s/feature/ci-ready"
39
- when /#{base_regex}-.*/
40
- then "#{PE_TARBALL_SERVER}/%s/ci-ready"
41
- else
42
- ''
43
- end
33
+ when /#{base_regex}\Z/
34
+ "#{PE_TARBALL_SERVER}/archives/releases/#{version}/"
35
+ when /#{base_regex}-rc\d+\Z/
36
+ "#{PE_TARBALL_SERVER}/archives/internal/%s/"
37
+ when /#{base_regex}-.*(PEZ|pez)_.*/
38
+ "#{PE_TARBALL_SERVER}/%s/feature/ci-ready"
39
+ when /#{base_regex}-.*/
40
+ "#{PE_TARBALL_SERVER}/%s/ci-ready"
41
+ else
42
+ ''
43
+ end
44
44
 
45
- pe_family = $1
45
+ pe_family = ::Regexp.last_match(1)
46
46
  gem_version = Gem::Version.new(pe_family)
47
- if gem_version < Gem::Version.new("#{MAIN_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/
48
- pe_branch = pe_family
49
- else
50
- pe_branch = 'main'
51
- end
47
+ pe_branch = if gem_version < Gem::Version.new("#{MAIN_PE_VERSION}") || version =~ /#{base_regex}-rc\d+\Z/
48
+ pe_family
49
+ else
50
+ 'main'
51
+ end
52
52
 
53
- return sprintf(source, ("#{pe_branch}" || ''))
53
+ format(source, ("#{pe_branch}" || ''))
54
54
  end
55
55
 
56
- PE_USE_WIN32 = ENV['pe_use_win32']
56
+ PE_USE_WIN32 = ENV.fetch('pe_use_win32', nil)
57
57
 
58
58
  BASE_CONFIG = {
59
59
  'HOSTS' => {},
@@ -66,7 +66,7 @@ module BeakerHostGenerator
66
66
  'pe_ver' => options[:pe_ver] || pe_version,
67
67
  'pe_upgrade_dir' => options[:pe_upgrade_dir] || pe_dir(pe_upgrade_version),
68
68
  'pe_upgrade_ver' => options[:pe_upgrade_ver] || pe_upgrade_version,
69
- }.reject { |key, value| value.nil? }
69
+ }.reject { |_key, value| value.nil? }
70
70
  end
71
71
 
72
72
  # This is where all the information for all platforms lives, irrespective
@@ -80,1139 +80,880 @@ module BeakerHostGenerator
80
80
  def osinfo
81
81
  result = {}
82
82
 
83
- # Fedora
84
- (19..36).each do |release|
85
- # 32 bit support was dropped in Fedora 31
86
- if release < 31
87
- result["fedora#{release}-32"] = {
88
- :general => {
89
- 'platform' => "fedora-#{release}-i386",
90
- },
91
- }
92
- end
93
-
94
- result["fedora#{release}-64"] = {
95
- :general => {
96
- 'platform' => "fedora-#{release}-x86_64",
97
- },
98
- }
99
- end
100
-
101
- # Ubuntu
102
- #
103
- # Generate LTS platforms
104
- (18..22).select(&:even?).each do |release|
105
- result["ubuntu#{release}04-64"] = {
106
- :general => {
107
- 'platform' => "ubuntu-#{release}.04-amd64",
108
- },
109
- }
110
-
111
- result["ubuntu#{release}04-POWER"] = {
112
- :general => {
113
- 'platform' => "ubuntu-#{release}.04-ppc64el",
114
- },
115
- }
116
-
117
- result["ubuntu#{release}04-AARCH64"] = {
118
- :general => {
119
- 'platform' => "ubuntu-#{release}.04-aarch64",
120
- },
121
- }
122
- end
123
-
124
- # Generate STS platforms
125
- [20, 21].each do |release|
126
- unless release.even?
127
- result["ubuntu#{release}04-64"] = {
128
- :general => {
129
- 'platform' => "ubuntu-#{release}.04-amd64",
130
- },
131
- }
132
- end
133
-
134
- result["ubuntu#{release}10-64"] = {
135
- :general => {
136
- 'platform' => "ubuntu-#{release}.10-amd64",
137
- },
138
- }
139
- end
140
-
141
- # FreeBSD
142
- (12..13).each do |release|
143
- result["freebsd#{release}-64"] = {
144
- :general => {
145
- 'platform' => "freebsd-#{release}-amd64",
83
+ generate_osinfo do |name, platform|
84
+ result[name] = {
85
+ general: {
86
+ 'platform' => platform,
146
87
  },
147
88
  }
148
89
  end
149
90
 
150
91
  result.merge!({
151
- 'aix71-POWER' => {
152
- :general => {
153
- 'platform' => 'aix-7.1-power',
154
- },
155
- :abs => {
156
- 'template' => 'aix-7.1-power',
157
- },
158
- },
159
- 'aix72-POWER' => {
160
- :general => {
161
- 'platform' => 'aix-7.2-power',
162
- 'packaging_platform' => 'aix-7.1-power',
163
- },
164
- :abs => {
165
- 'template' => 'aix-7.2-power',
166
- },
167
- },
168
- 'almalinux8-64' => {
169
- :general => {
170
- 'platform' => 'el-8-x86_64',
171
- },
172
- :docker => {
173
- 'docker_image_commands' => [
174
- 'cp /bin/true /sbin/agetty',
175
- 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en',
176
- ],
177
- },
178
- },
179
- 'almalinux9-64' => {
180
- :general => {
181
- 'platform' => 'el-9-x86_64',
182
- },
183
- :docker => {
184
- 'docker_image_commands' => [
185
- 'cp /bin/true /sbin/agetty',
186
- 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en',
187
- ],
188
- },
189
- },
190
- 'amazon6-64' => {
191
- :general => {
192
- 'platform' => 'el-6-x86_64',
193
- },
194
- :abs => {
195
- 'template' => 'amazon-6-x86_64',
196
- },
197
- },
198
- 'amazon7-64' => {
199
- :general => {
200
- 'platform' => 'el-7-x86_64',
201
- },
202
- :abs => {
203
- 'template' => 'amazon-7-x86_64',
204
- },
205
- },
206
- 'amazon7-ARM64' => {
207
- :general => {
208
- 'platform' => 'el-7-aarch64',
209
- },
210
- :abs => {
211
- 'template' => 'amazon-7-arm64',
212
- },
213
- },
214
- 'archlinuxrolling-64' => {
215
- :general => {
216
- 'platform' => 'archlinux-rolling-x64',
217
- },
218
- :vagrant => {
219
- 'box' => 'archlinux/archlinux',
220
- },
221
- :docker => {
222
- 'image' => 'archlinux/archlinux',
223
- },
224
- },
225
- 'centos7-64' => {
226
- :general => {
227
- 'platform' => 'el-7-x86_64',
228
- },
229
- :docker => {
230
- 'docker_image_commands' => [
231
- 'cp /bin/true /sbin/agetty',
232
- 'yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget which ss',
233
- ],
234
- },
235
- },
236
- 'centos8-64' => {
237
- :general => {
238
- 'platform' => 'el-8-x86_64',
239
- },
240
- :vagrant => {
241
- 'box' => 'centos/stream8',
242
- 'box_url' => 'https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-20230501.0.x86_64.vagrant-libvirt.box',
243
- },
244
- :docker => {
245
- 'image' => 'quay.io/centos/centos:stream8',
246
- 'docker_image_commands' => [
247
- 'cp /bin/true /sbin/agetty',
248
- 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en hostname',
249
- ],
250
- },
251
- },
252
- 'centos9-64' => {
253
- :general => {
254
- 'platform' => 'el-9-x86_64',
255
- },
256
- :vagrant => {
257
- 'box' => 'centos/stream9',
258
- 'box_url' => 'https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-20230410.0.x86_64.vagrant-libvirt.box',
259
- },
260
- :docker => {
261
- 'image' => 'quay.io/centos/centos:stream9',
262
- 'docker_image_commands' => [
263
- 'cp /bin/true /sbin/agetty',
264
- 'dnf install -y crontabs initscripts iproute openssl wget which glibc-langpack-en hostname',
265
- ],
266
- },
267
- },
268
- 'debian10-64' => {
269
- :general => {
270
- 'platform' => 'debian-10-amd64',
271
- },
272
- :docker => {
273
- 'docker_image_commands' => [
274
- 'cp /bin/true /sbin/agetty',
275
- 'rm -f /usr/sbin/policy-rc.d',
276
- 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg',
277
- ],
278
- },
279
- :vagrant => {
280
- 'box' => 'debian/buster64',
281
- },
282
- :vmpooler => {
283
- 'template' => 'debian-10-x86_64',
284
- },
285
- },
286
- 'debian10-32' => {
287
- :general => {
288
- 'platform' => 'debian-10-i386',
289
- },
290
- :docker => {
291
- 'docker_image_commands' => [
292
- 'cp /bin/true /sbin/agetty',
293
- 'rm -f /usr/sbin/policy-rc.d',
294
- 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg',
295
- ],
296
- },
297
- :vmpooler => {
298
- 'template' => 'debian-10-i386',
299
- },
300
- },
301
- 'debian11-64' => {
302
- :general => {
303
- 'platform' => 'debian-11-amd64',
304
- },
305
- :docker => {
306
- 'docker_image_commands' => [
307
- 'cp /bin/true /sbin/agetty',
308
- 'rm -f /usr/sbin/policy-rc.d',
309
- 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg iproute2',
310
- ],
311
- },
312
- :vagrant => {
313
- 'box' => 'debian/bullseye64',
314
- },
315
- :vmpooler => {
316
- 'template' => 'debian-11-x86_64',
317
- },
318
- },
319
- 'panos61-64' => {
320
- :general => {
321
- 'platform' => 'palo-alto-6.1.0-x86_64',
322
- },
323
- :vmpooler => {
324
- 'template' => 'palo-alto-6.1.0-x86_64',
325
- },
326
- },
327
- 'panos71-64' => {
328
- :general => {
329
- 'platform' => 'palo-alto-7.1.0-x86_64',
330
- },
331
- :vmpooler => {
332
- 'template' => 'palo-alto-7.1.0-x86_64',
333
- },
334
- },
335
- 'panos81-64' => {
336
- :general => {
337
- 'platform' => 'palo-alto-8.1.0-x86_64',
338
- },
339
- :vmpooler => {
340
- 'template' => 'palo-alto-8.1.0-x86_64',
341
- },
342
- },
343
- 'opensuse15-32' => {
344
- :general => {
345
- 'platform' => 'opensuse-15-i386',
346
- },
347
- :docker => {
348
- 'docker_image_commands' => [
349
- 'cp /bin/true /sbin/agetty',
350
- 'zypper install -y cron iproute2 tar wget which',
351
- ],
352
- },
353
- :vmpooler => {
354
- 'template' => 'opensuse-15-i386',
355
- },
356
- },
357
- 'opensuse15-64' => {
358
- :general => {
359
- 'platform' => 'opensuse-15-x86_64',
360
- },
361
- :docker => {
362
- 'docker_image_commands' => [
363
- 'cp /bin/true /sbin/agetty',
364
- 'zypper install -y cron iproute2 tar wget which',
365
- ],
366
- },
367
- :vmpooler => {
368
- 'template' => 'opensuse-15-x86_64',
369
- },
370
- },
371
- 'opensuse42-32' => {
372
- :general => {
373
- 'platform' => 'opensuse-42-i386',
374
- },
375
- :docker => {
376
- 'docker_image_commands' => [
377
- 'cp /bin/true /sbin/agetty',
378
- 'zypper install -y cron iproute2 tar wget which',
379
- ],
380
- },
381
- :vmpooler => {
382
- 'template' => 'opensuse-42-i386',
383
- },
384
- },
385
- 'opensuse42-64' => {
386
- :general => {
387
- 'platform' => 'opensuse-42-x86_64',
388
- },
389
- :docker => {
390
- 'docker_image_commands' => [
391
- 'cp /bin/true /sbin/agetty',
392
- 'zypper install -y cron iproute2 tar wget which',
393
- ],
394
- },
395
- :vmpooler => {
396
- 'template' => 'opensuse-42-x86_64',
397
- },
398
- },
399
- 'oracle6-32' => {
400
- :general => {
401
- 'platform' => 'el-6-i386',
402
- },
403
- :vmpooler => {
404
- 'template' => 'oracle-6-i386',
405
- },
406
- },
407
- 'oracle6-64' => {
408
- :general => {
409
- 'platform' => 'el-6-x86_64',
410
- },
411
- :vmpooler => {
412
- 'template' => 'oracle-6-x86_64',
413
- },
414
- },
415
- 'oracle7-64' => {
416
- :general => {
417
- 'platform' => 'el-7-x86_64',
418
- },
419
- :vmpooler => {
420
- 'template' => 'oracle-7-x86_64',
421
- },
422
- },
423
- 'osx1015-64' => {
424
- :general => {
425
- 'platform' => 'osx-10.15-x86_64',
426
- },
427
- :vmpooler => {
428
- 'template' => 'osx-1015-x86_64',
429
- },
430
- },
431
- 'osx11-64' => {
432
- :general => {
433
- 'platform' => 'osx-11-x86_64',
434
- },
435
- :vmpooler => {
436
- 'template' => 'macos-112-x86_64',
437
- },
438
- },
439
- 'osx11-ARM64' => {
440
- :general => {
441
- 'platform' => 'osx-11-arm64',
442
- },
443
- :vmpooler => {
444
- 'template' => 'macos-11-arm64',
445
- },
446
- },
447
- 'osx12-64' => {
448
- :general => {
449
- 'platform' => 'osx-12-x86_64',
450
- },
451
- :vmpooler => {
452
- 'template' => 'macos-12-x86_64',
453
- },
454
- },
455
- 'osx12-ARM64' => {
456
- :general => {
457
- 'platform' => 'osx-12-arm64',
458
- },
459
- :vmpooler => {
460
- 'template' => 'macos-12-arm64',
461
- },
462
- },
463
- 'osx13-64' => {
464
- :general => {
465
- 'platform' => 'osx-13-x86_64',
466
- },
467
- :vmpooler => {
468
- 'template' => 'macos-13-x86_64',
469
- },
470
- },
471
- 'osx13-ARM64' => {
472
- :general => {
473
- 'platform' => 'osx-13-arm64',
474
- },
475
- :vmpooler => {
476
- 'template' => 'macos-13-arm64',
477
- },
478
- },
479
- 'redhat6-32' => {
480
- :general => {
481
- 'platform' => 'el-6-i386',
482
- },
483
- :vmpooler => {
484
- 'template' => 'redhat-6-i386',
485
- },
486
- },
487
- 'redhat6-64' => {
488
- :general => {
489
- 'platform' => 'el-6-x86_64',
490
- },
491
- :vmpooler => {
492
- 'template' => 'redhat-6-x86_64',
493
- },
494
- },
495
- 'redhat6-S390X' => {
496
- :general => {
497
- 'platform' => 'el-6-s390x',
498
- },
499
- },
500
- 'redhat7-64' => {
501
- :general => {
502
- 'platform' => 'el-7-x86_64',
503
- },
504
- :vmpooler => {
505
- 'template' => 'redhat-7-x86_64',
506
- },
507
- },
508
- 'redhatfips7-64' => {
509
- :general => {
510
- 'platform' => 'el-7-x86_64',
511
- 'packaging_platform' => 'redhatfips-7-x86_64',
512
- },
513
- :vmpooler => {
514
- 'template' => 'redhat-fips-7-x86_64',
515
- },
516
- },
517
- 'redhat7-POWER' => {
518
- :general => {
519
- 'platform' => 'el-7-ppc64le',
520
- },
521
- :abs => {
522
- 'template' => 'redhat-7.3-power8',
523
- },
524
- },
525
- 'redhat7-S390X' => {
526
- :general => {
527
- 'platform' => 'el-7-s390x',
528
- },
529
- },
530
- 'redhat7-AARCH64' => {
531
- :general => {
532
- 'platform' => 'el-7-aarch64',
533
- },
534
- :abs => {
535
- 'template' => 'centos-7-arm64',
536
- },
537
- :vmpooler => {
538
- 'template' => 'redhat-7-x86_64',
539
- },
540
- },
541
- 'redhat8-64' => {
542
- :general => {
543
- 'platform' => 'el-8-x86_64',
544
- },
545
- :vmpooler => {
546
- 'template' => 'redhat-8-x86_64',
547
- },
548
- },
549
- 'redhatfips8-64' => {
550
- :general => {
551
- 'platform' => 'el-8-x86_64',
552
- 'packaging_platform' => 'redhatfips-8-x86_64',
553
- },
554
- :vmpooler => {
555
- 'template' => 'redhat-fips-8-x86_64',
556
- },
557
- },
558
- 'redhat8-AARCH64' => {
559
- :general => {
560
- 'platform' => 'el-8-aarch64',
561
- },
562
- :abs => {
563
- 'template' => 'redhat-8-arm64',
564
- },
565
- :vmpooler => {
566
- 'template' => 'redhat-8-x86_64',
567
- },
568
- },
569
- 'redhat8-POWER' => {
570
- :general => {
571
- 'platform' => 'el-8-ppc64le',
572
- },
573
- :abs => {
574
- 'template' => 'redhat-8-power8',
575
- },
576
- },
577
- 'redhat9-64' => {
578
- :general => {
579
- 'platform' => 'el-9-x86_64',
580
- },
581
- :vmpooler => {
582
- 'template' => 'redhat-9-x86_64',
583
- },
584
- },
585
- 'rocky8-64' => {
586
- :general => {
587
- 'platform' => 'el-8-x86_64',
588
- },
589
- :docker => {
590
- 'docker_image_commands' => [
591
- 'cp /bin/true /sbin/agetty',
592
- 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en',
593
- ],
594
- },
595
- },
596
- 'rocky9-64' => {
597
- :general => {
598
- 'platform' => 'el-9-x86_64',
599
- },
600
- :docker => {
601
- 'docker_image_commands' => [
602
- 'cp /bin/true /sbin/agetty',
603
- 'yum install -y crontabs initscripts iproute openssl wget which glibc-langpack-en',
604
- ],
605
- },
606
- },
607
- 'scientific7-64' => {
608
- :general => {
609
- 'platform' => 'el-7-x86_64',
610
- },
611
- :vmpooler => {
612
- 'template' => 'scientific-7-x86_64',
613
- },
614
- },
615
- 'sles11-32' => {
616
- :general => {
617
- 'platform' => 'sles-11-i386',
618
- },
619
- :vmpooler => {
620
- 'template' => 'sles-11-i386',
621
- },
622
- },
623
- 'sles11-64' => {
624
- :general => {
625
- 'platform' => 'sles-11-x86_64',
626
- },
627
- :vmpooler => {
628
- 'template' => 'sles-11-x86_64',
629
- },
630
- },
631
- 'sles11-S390X' => {
632
- :general => {
633
- 'platform' => 'sles-11-s390x',
634
- },
635
- },
636
- 'sles12-64' => {
637
- :general => {
638
- 'platform' => 'sles-12-x86_64',
639
- },
640
- :vmpooler => {
641
- 'template' => 'sles-12-x86_64',
642
- },
643
- },
644
- 'sles12-S390X' => {
645
- :general => {
646
- 'platform' => 'sles-12-s390x',
647
- },
648
- },
649
- 'sles12-POWER' => {
650
- :general => {
651
- 'platform' => 'sles-12-ppc64le',
652
- },
653
- :abs => {
654
- 'template' => 'sles-12-power8',
655
- },
656
- },
657
- 'sles15-64' => {
658
- :general => {
659
- 'platform' => 'sles-15-x86_64',
660
- },
661
- :vmpooler => {
662
- 'template' => 'sles-15-x86_64',
663
- },
664
- },
665
- 'solaris10-32' => {
666
- :general => {
667
- 'platform' => 'solaris-10-i386',
668
- },
669
- :vmpooler => {
670
- 'template' => 'solaris-10-x86_64',
671
- },
672
- },
673
- 'solaris10-64' => {
674
- :general => {
675
- 'platform' => 'solaris-10-i386',
676
- },
677
- :vmpooler => {
678
- 'template' => 'solaris-10-x86_64',
679
- },
680
- },
681
- 'solaris10-SPARC' => {
682
- :general => {
683
- 'platform' => 'solaris-10-sparc',
684
- },
685
- :abs => {
686
- 'template' => 'solaris-10-sparc',
687
- },
688
- },
689
- 'solaris11-32' => {
690
- :general => {
691
- 'platform' => 'solaris-11-i386',
692
- },
693
- :vmpooler => {
694
- 'template' => 'solaris-11-x86_64',
695
- },
696
- },
697
- 'solaris11-64' => {
698
- :general => {
699
- 'platform' => 'solaris-11-i386',
700
- },
701
- :vmpooler => {
702
- 'template' => 'solaris-11-x86_64',
703
- },
704
- },
705
- 'solaris11-SPARC' => {
706
- :general => {
707
- 'platform' => 'solaris-11-sparc',
708
- },
709
- :abs => {
710
- 'template' => 'solaris-11-sparc',
711
- },
712
- },
713
- 'solaris112-32' => {
714
- :general => {
715
- 'platform' => 'solaris-11.2-i386',
716
- 'packaging_platform' => 'solaris-11-i386',
717
- },
718
- :vmpooler => {
719
- 'template' => 'solaris-112-x86_64',
720
- },
721
- },
722
- 'solaris112-64' => {
723
- :general => {
724
- 'platform' => 'solaris-11.2-i386',
725
- 'packaging_platform' => 'solaris-11-i386',
726
- },
727
- :vmpooler => {
728
- 'template' => 'solaris-112-x86_64',
729
- },
730
- },
731
- 'solaris114-32' => {
732
- :general => {
733
- 'platform' => 'solaris-11.4-i386',
734
- 'packaging_platform' => 'solaris-11-i386',
735
- },
736
- :vmpooler => {
737
- 'template' => 'solaris-114-x86_64',
738
- },
739
- },
740
- 'solaris114-64' => {
741
- :general => {
742
- 'platform' => 'solaris-11.4-i386',
743
- 'packaging_platform' => 'solaris-11-i386',
744
- },
745
- :vmpooler => {
746
- 'template' => 'solaris-114-x86_64',
747
- },
748
- },
749
- 'vro6-64' => {
750
- :general => {
751
- 'platform' => 'sles-11-x86_64',
752
- },
753
- :vmpooler => {
754
- 'template' => 'vro-6-x86_64',
755
- },
756
- },
757
- 'vro7-64' => {
758
- :general => {
759
- 'platform' => 'sles-11-x86_64',
760
- },
761
- :vmpooler => {
762
- 'template' => 'vro-7-x86_64',
763
- },
764
- },
765
- 'vro71-64' => {
766
- :general => {
767
- 'platform' => 'sles-11-x86_64',
768
- },
769
- :vmpooler => {
770
- 'template' => 'vro-71-x86_64',
771
- },
772
- },
773
- 'vro73-64' => {
774
- :general => {
775
- 'platform' => 'sles-11-x86_64',
776
- },
777
- :vmpooler => {
778
- 'template' => 'vro-73-x86_64',
779
- },
780
- },
781
- 'vro74-64' => {
782
- :general => {
783
- 'platform' => 'sles-11-x86_64',
784
- },
785
- :vmpooler => {
786
- 'template' => 'vro-74-x86_64',
787
- },
788
- },
789
- 'windows2008-64' => {
790
- :general => {
791
- 'platform' => 'windows-2008-64',
792
- 'packaging_platform' => 'windows-2012-x64',
793
- 'ruby_arch' => 'x64',
794
- },
795
- :vmpooler => {
796
- 'template' => 'win-2008-x86_64',
797
- },
798
- },
799
- 'windows2008-6432' => {
800
- :general => {
801
- 'platform' => 'windows-2008-64',
802
- 'packaging_platform' => 'windows-2012-x64',
803
- 'ruby_arch' => 'x86',
804
- },
805
- :vmpooler => {
806
- 'template' => 'win-2008-x86_64',
807
- },
808
- },
809
- 'windows2008r2-64' => {
810
- :general => {
811
- 'platform' => 'windows-2008r2-64',
812
- 'packaging_platform' => 'windows-2012-x64',
813
- 'ruby_arch' => 'x64',
814
- },
815
- :vmpooler => {
816
- 'template' => 'win-2008r2-x86_64',
817
- },
818
- },
819
- 'windows2008r2-6432' => {
820
- :general => {
821
- 'platform' => 'windows-2008r2-64',
822
- 'packaging_platform' => 'windows-2012-x64',
823
- 'ruby_arch' => 'x86',
824
- },
825
- :vmpooler => {
826
- 'template' => 'win-2008r2-x86_64',
827
- },
828
- },
829
- 'windows2012-64' => {
830
- :general => {
831
- 'platform' => 'windows-2012-64',
832
- 'packaging_platform' => 'windows-2012-x64',
833
- 'ruby_arch' => 'x64',
834
- },
835
- :vmpooler => {
836
- 'template' => 'win-2012-x86_64',
837
- },
838
- },
839
- 'windows2012-6432' => {
840
- :general => {
841
- 'platform' => 'windows-2012-64',
842
- 'packaging_platform' => 'windows-2012-x64',
843
- 'ruby_arch' => 'x86',
844
- },
845
- :vmpooler => {
846
- 'template' => 'win-2012-x86_64',
847
- },
848
- },
849
- 'windows2012r2-64' => {
850
- :general => {
851
- 'platform' => 'windows-2012r2-64',
852
- 'packaging_platform' => 'windows-2012-x64',
853
- 'ruby_arch' => 'x64',
854
- },
855
- :vmpooler => {
856
- 'template' => 'win-2012r2-x86_64',
857
- },
858
- },
859
- 'windowsfips2012r2-64' => {
860
- :general => {
861
- 'platform' => 'windows-2012r2-64',
862
- 'packaging_platform' => 'windowsfips-2012-x64',
863
- 'ruby_arch' => 'x64',
864
- },
865
- :vmpooler => {
866
- 'template' => 'win-2012r2-fips-x86_64',
867
- },
868
- },
869
- 'windowsfips2012r2-6432' => {
870
- :general => {
871
- 'platform' => 'windows-2012r2-64',
872
- 'packaging_platform' => 'windowsfips-2012-x64',
873
- 'ruby_arch' => 'x64',
874
- },
875
- :vmpooler => {
876
- 'template' => 'win-2012r2-fips-x86_64',
877
- },
878
- },
879
- 'windows2012r2-6432' => {
880
- :general => {
881
- 'platform' => 'windows-2012r2-64',
882
- 'packaging_platform' => 'windows-2012-x64',
883
- 'ruby_arch' => 'x86',
884
- },
885
- :vmpooler => {
886
- 'template' => 'win-2012r2-x86_64',
887
- },
888
- },
889
- 'windows2012r2_wmf5-64' => {
890
- :general => {
891
- 'platform' => 'windows-2012r2-64',
892
- 'packaging_platform' => 'windows-2012-x64',
893
- 'ruby_arch' => 'x64',
894
- },
895
- :vmpooler => {
896
- 'template' => 'win-2012r2-wmf5-x86_64',
897
- },
898
- },
899
- 'windows2012r2_ja-64' => {
900
- :general => {
901
- 'platform' => 'windows-2012r2-64',
902
- 'packaging_platform' => 'windows-2012-x64',
903
- 'ruby_arch' => 'x64',
904
- },
905
- :vmpooler => {
906
- 'template' => 'win-2012r2-ja-x86_64',
907
- 'locale' => 'ja',
908
- },
909
- },
910
- 'windows2012r2_ja-6432' => {
911
- :general => {
912
- 'platform' => 'windows-2012r2-64',
913
- 'packaging_platform' => 'windows-2012-x64',
914
- 'ruby_arch' => 'x86',
915
- },
916
- :vmpooler => {
917
- 'template' => 'win-2012r2-ja-x86_64',
918
- 'locale' => 'ja',
919
- },
920
- },
921
- 'windows2012r2_fr-64' => {
922
- :general => {
923
- 'platform' => 'windows-2012r2-64',
924
- 'packaging_platform' => 'windows-2012-x64',
925
- 'ruby_arch' => 'x64',
926
- },
927
- :vmpooler => {
928
- 'template' => 'win-2012r2-fr-x86_64',
929
- 'user' => 'Administrateur',
930
- 'locale' => 'fr',
931
- },
932
- },
933
- 'windows2012r2_fr-6432' => {
934
- :general => {
935
- 'platform' => 'windows-2012r2-64',
936
- 'packaging_platform' => 'windows-2012-x64',
937
- 'ruby_arch' => 'x86',
938
- },
939
- :vmpooler => {
940
- 'template' => 'win-2012r2-fr-x86_64',
941
- 'user' => 'Administrateur',
942
- 'locale' => 'fr',
943
- },
944
- },
945
- 'windows2012r2_core-64' => {
946
- :general => {
947
- 'platform' => 'windows-2012r2-64',
948
- 'packaging_platform' => 'windows-2012-x64',
949
- 'ruby_arch' => 'x64',
950
- },
951
- :vmpooler => {
952
- 'template' => 'win-2012r2-core-x86_64',
953
- },
954
- },
955
- 'windows2012r2_core-6432' => {
956
- :general => {
957
- 'platform' => 'windows-2012r2-64',
958
- 'packaging_platform' => 'windows-2012-x64',
959
- 'ruby_arch' => 'x86',
960
- },
961
- :vmpooler => {
962
- 'template' => 'win-2012r2-core-x86_64',
963
- },
964
- },
965
- 'windows2016-64' => {
966
- :general => {
967
- 'platform' => 'windows-2016-64',
968
- 'packaging_platform' => 'windows-2012-x64',
969
- 'ruby_arch' => 'x64',
970
- },
971
- :vmpooler => {
972
- 'template' => 'win-2016-x86_64',
973
- },
974
- },
975
- 'windows2016-6432' => {
976
- :general => {
977
- 'platform' => 'windows-2016-64',
978
- 'packaging_platform' => 'windows-2012-x64',
979
- 'ruby_arch' => 'x86',
980
- },
981
- :vmpooler => {
982
- 'template' => 'win-2016-x86_64',
983
- },
984
- },
985
- 'windows2016_core-64' => {
986
- :general => {
987
- 'platform' => 'windows-2016-64',
988
- 'packaging_platform' => 'windows-2012-x64',
989
- 'ruby_arch' => 'x64',
990
- },
991
- :vmpooler => {
992
- 'template' => 'win-2016-core-x86_64',
993
- },
994
- },
995
- 'windows2016_core-6432' => {
996
- :general => {
997
- 'platform' => 'windows-2016-64',
998
- 'packaging_platform' => 'windows-2012-x64',
999
- 'ruby_arch' => 'x86',
1000
- },
1001
- :vmpooler => {
1002
- 'template' => 'win-2016-core-x86_64',
1003
- },
1004
- },
1005
- 'windows2016_fr-64' => {
1006
- :general => {
1007
- 'platform' => 'windows-2016-64',
1008
- 'packaging_platform' => 'windows-2012-x64',
1009
- 'ruby_arch' => 'x64',
1010
- },
1011
- :vmpooler => {
1012
- 'template' => 'win-2016-fr-x86_64',
1013
- 'user' => 'Administrateur',
1014
- 'locale' => 'fr',
1015
- },
1016
- },
1017
- 'windows2016_fr-6432' => {
1018
- :general => {
1019
- 'platform' => 'windows-2016-64',
1020
- 'packaging_platform' => 'windows-2012-x64',
1021
- 'ruby_arch' => 'x86',
1022
- },
1023
- :vmpooler => {
1024
- 'template' => 'win-2016-fr-x86_64',
1025
- 'user' => 'Administrateur',
1026
- 'locale' => 'fr',
1027
- },
1028
- },
1029
- 'windows2019-64' => {
1030
- :general => {
1031
- 'platform' => 'windows-2019-64',
1032
- 'packaging_platform' => 'windows-2012-x64',
1033
- 'ruby_arch' => 'x64',
1034
- },
1035
- :vmpooler => {
1036
- 'template' => 'win-2019-x86_64',
1037
- },
1038
- },
1039
- 'windows2019-6432' => {
1040
- :general => {
1041
- 'platform' => 'windows-2019-64',
1042
- 'packaging_platform' => 'windows-2012-x64',
1043
- 'ruby_arch' => 'x86',
1044
- },
1045
- :vmpooler => {
1046
- 'template' => 'win-2019-x86_64',
1047
- },
1048
- },
1049
- 'windows2019_ja-64' => {
1050
- :general => {
1051
- 'platform' => 'windows-2019-64',
1052
- 'packaging_platform' => 'windows-2012-x64',
1053
- 'ruby_arch' => 'x64',
1054
- },
1055
- :vmpooler => {
1056
- 'template' => 'win-2019-ja-x86_64',
1057
- 'locale' => 'ja',
1058
- },
1059
- },
1060
- 'windows2019_ja-6432' => {
1061
- :general => {
1062
- 'platform' => 'windows-2019-64',
1063
- 'packaging_platform' => 'windows-2012-x64',
1064
- 'ruby_arch' => 'x86',
1065
- },
1066
- :vmpooler => {
1067
- 'template' => 'win-2019-ja-x86_64',
1068
- 'locale' => 'ja',
1069
- },
1070
- },
1071
- 'windows2019_fr-64' => {
1072
- :general => {
1073
- 'platform' => 'windows-2019-64',
1074
- 'packaging_platform' => 'windows-2012-x64',
1075
- 'ruby_arch' => 'x64',
1076
- },
1077
- :vmpooler => {
1078
- 'template' => 'win-2019-fr-x86_64',
1079
- 'user' => 'Administrateur',
1080
- 'locale' => 'fr',
1081
- },
1082
- },
1083
- 'windows2019_fr-6432' => {
1084
- :general => {
1085
- 'platform' => 'windows-2019-64',
1086
- 'packaging_platform' => 'windows-2012-x64',
1087
- 'ruby_arch' => 'x86',
1088
- },
1089
- :vmpooler => {
1090
- 'template' => 'win-2019-fr-x86_64',
1091
- 'user' => 'Administrateur',
1092
- 'locale' => 'fr',
1093
- },
1094
- },
1095
- 'windows2019_core-64' => {
1096
- :general => {
1097
- 'platform' => 'windows-2019-64',
1098
- 'packaging_platform' => 'windows-2012-x64',
1099
- 'ruby_arch' => 'x64',
1100
- },
1101
- :vmpooler => {
1102
- 'template' => 'win-2019-core-x86_64',
1103
- },
1104
- },
1105
- 'windows2019_core-6432' => {
1106
- :general => {
1107
- 'platform' => 'windows-2019-64',
1108
- 'packaging_platform' => 'windows-2012-x64',
1109
- 'ruby_arch' => 'x86',
1110
- },
1111
- :vmpooler => {
1112
- 'template' => 'win-2019-core-x86_64',
1113
- },
1114
- },
1115
- 'windows2022-64' => {
1116
- :general => {
1117
- 'platform' => 'windows-2022-64',
1118
- 'packaging_platform' => 'windows-2012-x64',
1119
- 'ruby_arch' => 'x64',
1120
- },
1121
- :vmpooler => {
1122
- 'template' => 'win-2022-x86_64',
1123
- },
1124
- },
1125
- 'windows10ent-32' => {
1126
- :general => {
1127
- 'platform' => 'windows-10ent-32',
1128
- 'packaging_platform' => 'windows-2012-x86',
1129
- 'ruby_arch' => 'x86',
1130
- },
1131
- :vmpooler => {
1132
- 'template' => 'win-10-ent-i386',
1133
- },
1134
- },
1135
- 'windows10ent-64' => {
1136
- :general => {
1137
- 'platform' => 'windows-10ent-64',
1138
- 'packaging_platform' => 'windows-2012-x64',
1139
- 'ruby_arch' => 'x64',
1140
- },
1141
- :vmpooler => {
1142
- 'template' => 'win-10-ent-x86_64',
1143
- },
1144
- },
1145
- 'windows10next-32' => {
1146
- :general => {
1147
- 'platform' => 'windows-10ent-32',
1148
- 'packaging_platform' => 'windows-2012-x86',
1149
- 'ruby_arch' => 'x86',
1150
- },
1151
- :vmpooler => {
1152
- 'template' => 'win-10-next-i386',
1153
- },
1154
- },
1155
- 'windows10next-64' => {
1156
- :general => {
1157
- 'platform' => 'windows-10ent-64',
1158
- 'packaging_platform' => 'windows-2012-x64',
1159
- 'ruby_arch' => 'x64',
1160
- },
1161
- :vmpooler => {
1162
- 'template' => 'win-10-next-x86_64',
1163
- },
1164
- },
1165
- 'windows10pro-64' => {
1166
- :general => {
1167
- 'platform' => 'windows-10pro-64',
1168
- 'packaging_platform' => 'windows-2012-x64',
1169
- 'ruby_arch' => 'x64',
1170
- },
1171
- :vmpooler => {
1172
- 'template' => 'win-10-pro-x86_64',
1173
- },
1174
- },
1175
- 'windows10_1511-64' => {
1176
- :general => {
1177
- 'platform' => 'windows-10ent-64',
1178
- 'packaging_platform' => 'windows-2012-x64',
1179
- 'ruby_arch' => 'x64',
1180
- },
1181
- :vmpooler => {
1182
- 'template' => 'win-10-1511-x86_64',
1183
- },
1184
- },
1185
- 'windows10_1607-64' => {
1186
- :general => {
1187
- 'platform' => 'windows-10ent-64',
1188
- 'packaging_platform' => 'windows-2012-x64',
1189
- 'ruby_arch' => 'x64',
1190
- },
1191
- :vmpooler => {
1192
- 'template' => 'win-10-1607-x86_64',
1193
- },
1194
- },
1195
- 'windows10_1809-64' => {
1196
- :general => {
1197
- 'platform' => 'windows-10ent-64',
1198
- 'packaging_platform' => 'windows-2012-x64',
1199
- 'ruby_arch' => 'x64',
1200
- },
1201
- :vmpooler => {
1202
- 'template' => 'win-10-1809-x86_64',
1203
- },
1204
- },
1205
- 'windows11ent-64' => {
1206
- :general => {
1207
- 'platform' => 'windows-11ent-64',
1208
- 'packaging_platform' => 'windows-2012-x64',
1209
- 'ruby_arch' => 'x64',
1210
- },
1211
- :vmpooler => {
1212
- 'template' => 'win-11-ent-x86_64',
1213
- },
1214
- },
1215
- })
92
+ 'aix71-POWER' => {
93
+ general: {
94
+ 'platform' => 'aix-7.1-power',
95
+ },
96
+ abs: {
97
+ 'template' => 'aix-7.1-power',
98
+ },
99
+ },
100
+ 'aix72-POWER' => {
101
+ general: {
102
+ 'platform' => 'aix-7.2-power',
103
+ 'packaging_platform' => 'aix-7.1-power',
104
+ },
105
+ abs: {
106
+ 'template' => 'aix-7.2-power',
107
+ },
108
+ },
109
+ 'amazon6-64' => {
110
+ general: {
111
+ 'platform' => 'el-6-x86_64',
112
+ },
113
+ abs: {
114
+ 'template' => 'amazon-6-x86_64',
115
+ },
116
+ },
117
+ 'amazon7-64' => {
118
+ general: {
119
+ 'platform' => 'el-7-x86_64',
120
+ },
121
+ abs: {
122
+ 'template' => 'amazon-7-x86_64',
123
+ },
124
+ },
125
+ 'amazon7-ARM64' => {
126
+ general: {
127
+ 'platform' => 'el-7-aarch64',
128
+ },
129
+ abs: {
130
+ 'template' => 'amazon-7-arm64',
131
+ },
132
+ },
133
+ 'archlinuxrolling-64' => {
134
+ general: {
135
+ 'platform' => 'archlinux-rolling-x64',
136
+ },
137
+ vagrant: {
138
+ 'box' => 'archlinux/archlinux',
139
+ },
140
+ docker: {
141
+ 'image' => 'archlinux/archlinux',
142
+ },
143
+ },
144
+ 'centos7-64' => {
145
+ general: {
146
+ 'platform' => 'el-7-x86_64',
147
+ },
148
+ },
149
+ 'centos8-64' => {
150
+ general: {
151
+ 'platform' => 'el-8-x86_64',
152
+ },
153
+ vagrant: {
154
+ 'box' => 'centos/stream8',
155
+ 'box_url' => 'https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-20230501.0.x86_64.vagrant-libvirt.box',
156
+ },
157
+ },
158
+ 'centos9-64' => {
159
+ general: {
160
+ 'platform' => 'el-9-x86_64',
161
+ },
162
+ vagrant: {
163
+ 'box' => 'centos/stream9',
164
+ 'box_url' => 'https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-20230410.0.x86_64.vagrant-libvirt.box',
165
+ },
166
+ },
167
+ 'debian10-64' => {
168
+ general: {
169
+ 'platform' => 'debian-10-amd64',
170
+ },
171
+ vagrant: {
172
+ 'box' => 'debian/buster64',
173
+ },
174
+ },
175
+ 'debian10-32' => {
176
+ general: {
177
+ 'platform' => 'debian-10-i386',
178
+ },
179
+ },
180
+ 'debian11-64' => {
181
+ general: {
182
+ 'platform' => 'debian-11-amd64',
183
+ },
184
+ vagrant: {
185
+ 'box' => 'debian/bullseye64',
186
+ },
187
+ },
188
+ 'panos61-64' => {
189
+ general: {
190
+ 'platform' => 'palo-alto-6.1.0-x86_64',
191
+ },
192
+ },
193
+ 'panos71-64' => {
194
+ general: {
195
+ 'platform' => 'palo-alto-7.1.0-x86_64',
196
+ },
197
+ },
198
+ 'panos81-64' => {
199
+ general: {
200
+ 'platform' => 'palo-alto-8.1.0-x86_64',
201
+ },
202
+ },
203
+ 'osx1015-64' => {
204
+ general: {
205
+ 'platform' => 'osx-10.15-x86_64',
206
+ },
207
+ vmpooler: {
208
+ 'template' => 'osx-1015-x86_64',
209
+ },
210
+ },
211
+ 'osx11-64' => {
212
+ general: {
213
+ 'platform' => 'osx-11-x86_64',
214
+ },
215
+ vmpooler: {
216
+ 'template' => 'macos-112-x86_64',
217
+ },
218
+ },
219
+ 'osx11-ARM64' => {
220
+ general: {
221
+ 'platform' => 'osx-11-arm64',
222
+ },
223
+ vmpooler: {
224
+ 'template' => 'macos-11-arm64',
225
+ },
226
+ },
227
+ 'osx12-64' => {
228
+ general: {
229
+ 'platform' => 'osx-12-x86_64',
230
+ },
231
+ vmpooler: {
232
+ 'template' => 'macos-12-x86_64',
233
+ },
234
+ },
235
+ 'osx12-ARM64' => {
236
+ general: {
237
+ 'platform' => 'osx-12-arm64',
238
+ },
239
+ vmpooler: {
240
+ 'template' => 'macos-12-arm64',
241
+ },
242
+ },
243
+ 'osx13-64' => {
244
+ general: {
245
+ 'platform' => 'osx-13-x86_64',
246
+ },
247
+ vmpooler: {
248
+ 'template' => 'macos-13-x86_64',
249
+ },
250
+ },
251
+ 'osx13-ARM64' => {
252
+ general: {
253
+ 'platform' => 'osx-13-arm64',
254
+ },
255
+ vmpooler: {
256
+ 'template' => 'macos-13-arm64',
257
+ },
258
+ },
259
+ 'redhat6-32' => {
260
+ general: {
261
+ 'platform' => 'el-6-i386',
262
+ },
263
+ vmpooler: {
264
+ 'template' => 'redhat-6-i386',
265
+ },
266
+ },
267
+ 'redhat6-64' => {
268
+ general: {
269
+ 'platform' => 'el-6-x86_64',
270
+ },
271
+ vmpooler: {
272
+ 'template' => 'redhat-6-x86_64',
273
+ },
274
+ },
275
+ 'redhat6-S390X' => {
276
+ general: {
277
+ 'platform' => 'el-6-s390x',
278
+ },
279
+ },
280
+ 'redhat7-64' => {
281
+ general: {
282
+ 'platform' => 'el-7-x86_64',
283
+ },
284
+ },
285
+ 'redhatfips7-64' => {
286
+ general: {
287
+ 'platform' => 'el-7-x86_64',
288
+ 'packaging_platform' => 'redhatfips-7-x86_64',
289
+ },
290
+ vmpooler: {
291
+ 'template' => 'redhat-fips-7-x86_64',
292
+ },
293
+ },
294
+ 'redhat7-POWER' => {
295
+ general: {
296
+ 'platform' => 'el-7-ppc64le',
297
+ },
298
+ abs: {
299
+ 'template' => 'redhat-7.3-power8',
300
+ },
301
+ },
302
+ 'redhat7-S390X' => {
303
+ general: {
304
+ 'platform' => 'el-7-s390x',
305
+ },
306
+ },
307
+ 'redhat7-AARCH64' => {
308
+ general: {
309
+ 'platform' => 'el-7-aarch64',
310
+ },
311
+ abs: {
312
+ 'template' => 'centos-7-arm64',
313
+ },
314
+ vmpooler: {
315
+ 'template' => 'redhat-7-x86_64',
316
+ },
317
+ },
318
+ 'redhat8-64' => {
319
+ general: {
320
+ 'platform' => 'el-8-x86_64',
321
+ },
322
+ },
323
+ 'redhatfips8-64' => {
324
+ general: {
325
+ 'platform' => 'el-8-x86_64',
326
+ 'packaging_platform' => 'redhatfips-8-x86_64',
327
+ },
328
+ vmpooler: {
329
+ 'template' => 'redhat-fips-8-x86_64',
330
+ },
331
+ },
332
+ 'redhat8-AARCH64' => {
333
+ general: {
334
+ 'platform' => 'el-8-aarch64',
335
+ },
336
+ abs: {
337
+ 'template' => 'redhat-8-arm64',
338
+ },
339
+ vmpooler: {
340
+ 'template' => 'redhat-8-x86_64',
341
+ },
342
+ },
343
+ 'redhat8-POWER' => {
344
+ general: {
345
+ 'platform' => 'el-8-ppc64le',
346
+ },
347
+ abs: {
348
+ 'template' => 'redhat-8-power8',
349
+ },
350
+ },
351
+ 'redhat9-64' => {
352
+ general: {
353
+ 'platform' => 'el-9-x86_64',
354
+ },
355
+ },
356
+ 'sles11-32' => {
357
+ general: {
358
+ 'platform' => 'sles-11-i386',
359
+ },
360
+ vmpooler: {
361
+ 'template' => 'sles-11-i386',
362
+ },
363
+ },
364
+ 'sles11-64' => {
365
+ general: {
366
+ 'platform' => 'sles-11-x86_64',
367
+ },
368
+ vmpooler: {
369
+ 'template' => 'sles-11-x86_64',
370
+ },
371
+ },
372
+ 'sles11-S390X' => {
373
+ general: {
374
+ 'platform' => 'sles-11-s390x',
375
+ },
376
+ },
377
+ 'sles12-64' => {
378
+ general: {
379
+ 'platform' => 'sles-12-x86_64',
380
+ },
381
+ vmpooler: {
382
+ 'template' => 'sles-12-x86_64',
383
+ },
384
+ },
385
+ 'sles12-S390X' => {
386
+ general: {
387
+ 'platform' => 'sles-12-s390x',
388
+ },
389
+ },
390
+ 'sles12-POWER' => {
391
+ general: {
392
+ 'platform' => 'sles-12-ppc64le',
393
+ },
394
+ abs: {
395
+ 'template' => 'sles-12-power8',
396
+ },
397
+ },
398
+ 'sles15-64' => {
399
+ general: {
400
+ 'platform' => 'sles-15-x86_64',
401
+ },
402
+ vmpooler: {
403
+ 'template' => 'sles-15-x86_64',
404
+ },
405
+ },
406
+ 'solaris10-32' => {
407
+ general: {
408
+ 'platform' => 'solaris-10-i386',
409
+ },
410
+ vmpooler: {
411
+ 'template' => 'solaris-10-x86_64',
412
+ },
413
+ },
414
+ 'solaris10-64' => {
415
+ general: {
416
+ 'platform' => 'solaris-10-i386',
417
+ },
418
+ vmpooler: {
419
+ 'template' => 'solaris-10-x86_64',
420
+ },
421
+ },
422
+ 'solaris10-SPARC' => {
423
+ general: {
424
+ 'platform' => 'solaris-10-sparc',
425
+ },
426
+ abs: {
427
+ 'template' => 'solaris-10-sparc',
428
+ },
429
+ },
430
+ 'solaris11-32' => {
431
+ general: {
432
+ 'platform' => 'solaris-11-i386',
433
+ },
434
+ vmpooler: {
435
+ 'template' => 'solaris-11-x86_64',
436
+ },
437
+ },
438
+ 'solaris11-64' => {
439
+ general: {
440
+ 'platform' => 'solaris-11-i386',
441
+ },
442
+ vmpooler: {
443
+ 'template' => 'solaris-11-x86_64',
444
+ },
445
+ },
446
+ 'solaris11-SPARC' => {
447
+ general: {
448
+ 'platform' => 'solaris-11-sparc',
449
+ },
450
+ abs: {
451
+ 'template' => 'solaris-11-sparc',
452
+ },
453
+ },
454
+ 'solaris112-32' => {
455
+ general: {
456
+ 'platform' => 'solaris-11.2-i386',
457
+ 'packaging_platform' => 'solaris-11-i386',
458
+ },
459
+ vmpooler: {
460
+ 'template' => 'solaris-112-x86_64',
461
+ },
462
+ },
463
+ 'solaris112-64' => {
464
+ general: {
465
+ 'platform' => 'solaris-11.2-i386',
466
+ 'packaging_platform' => 'solaris-11-i386',
467
+ },
468
+ vmpooler: {
469
+ 'template' => 'solaris-112-x86_64',
470
+ },
471
+ },
472
+ 'solaris114-32' => {
473
+ general: {
474
+ 'platform' => 'solaris-11.4-i386',
475
+ 'packaging_platform' => 'solaris-11-i386',
476
+ },
477
+ vmpooler: {
478
+ 'template' => 'solaris-114-x86_64',
479
+ },
480
+ },
481
+ 'solaris114-64' => {
482
+ general: {
483
+ 'platform' => 'solaris-11.4-i386',
484
+ 'packaging_platform' => 'solaris-11-i386',
485
+ },
486
+ vmpooler: {
487
+ 'template' => 'solaris-114-x86_64',
488
+ },
489
+ },
490
+ 'vro6-64' => {
491
+ general: {
492
+ 'platform' => 'sles-11-x86_64',
493
+ },
494
+ vmpooler: {
495
+ 'template' => 'vro-6-x86_64',
496
+ },
497
+ },
498
+ 'vro7-64' => {
499
+ general: {
500
+ 'platform' => 'sles-11-x86_64',
501
+ },
502
+ vmpooler: {
503
+ 'template' => 'vro-7-x86_64',
504
+ },
505
+ },
506
+ 'vro71-64' => {
507
+ general: {
508
+ 'platform' => 'sles-11-x86_64',
509
+ },
510
+ vmpooler: {
511
+ 'template' => 'vro-71-x86_64',
512
+ },
513
+ },
514
+ 'vro73-64' => {
515
+ general: {
516
+ 'platform' => 'sles-11-x86_64',
517
+ },
518
+ vmpooler: {
519
+ 'template' => 'vro-73-x86_64',
520
+ },
521
+ },
522
+ 'vro74-64' => {
523
+ general: {
524
+ 'platform' => 'sles-11-x86_64',
525
+ },
526
+ vmpooler: {
527
+ 'template' => 'vro-74-x86_64',
528
+ },
529
+ },
530
+ 'windows2008-64' => {
531
+ general: {
532
+ 'platform' => 'windows-2008-64',
533
+ 'packaging_platform' => 'windows-2012-x64',
534
+ 'ruby_arch' => 'x64',
535
+ },
536
+ vmpooler: {
537
+ 'template' => 'win-2008-x86_64',
538
+ },
539
+ },
540
+ 'windows2008-6432' => {
541
+ general: {
542
+ 'platform' => 'windows-2008-64',
543
+ 'packaging_platform' => 'windows-2012-x64',
544
+ 'ruby_arch' => 'x86',
545
+ },
546
+ vmpooler: {
547
+ 'template' => 'win-2008-x86_64',
548
+ },
549
+ },
550
+ 'windows2008r2-64' => {
551
+ general: {
552
+ 'platform' => 'windows-2008r2-64',
553
+ 'packaging_platform' => 'windows-2012-x64',
554
+ 'ruby_arch' => 'x64',
555
+ },
556
+ vmpooler: {
557
+ 'template' => 'win-2008r2-x86_64',
558
+ },
559
+ },
560
+ 'windows2008r2-6432' => {
561
+ general: {
562
+ 'platform' => 'windows-2008r2-64',
563
+ 'packaging_platform' => 'windows-2012-x64',
564
+ 'ruby_arch' => 'x86',
565
+ },
566
+ vmpooler: {
567
+ 'template' => 'win-2008r2-x86_64',
568
+ },
569
+ },
570
+ 'windows2012-64' => {
571
+ general: {
572
+ 'platform' => 'windows-2012-64',
573
+ 'packaging_platform' => 'windows-2012-x64',
574
+ 'ruby_arch' => 'x64',
575
+ },
576
+ vmpooler: {
577
+ 'template' => 'win-2012-x86_64',
578
+ },
579
+ },
580
+ 'windows2012-6432' => {
581
+ general: {
582
+ 'platform' => 'windows-2012-64',
583
+ 'packaging_platform' => 'windows-2012-x64',
584
+ 'ruby_arch' => 'x86',
585
+ },
586
+ vmpooler: {
587
+ 'template' => 'win-2012-x86_64',
588
+ },
589
+ },
590
+ 'windows2012r2-64' => {
591
+ general: {
592
+ 'platform' => 'windows-2012r2-64',
593
+ 'packaging_platform' => 'windows-2012-x64',
594
+ 'ruby_arch' => 'x64',
595
+ },
596
+ vmpooler: {
597
+ 'template' => 'win-2012r2-x86_64',
598
+ },
599
+ },
600
+ 'windowsfips2012r2-64' => {
601
+ general: {
602
+ 'platform' => 'windows-2012r2-64',
603
+ 'packaging_platform' => 'windowsfips-2012-x64',
604
+ 'ruby_arch' => 'x64',
605
+ },
606
+ vmpooler: {
607
+ 'template' => 'win-2012r2-fips-x86_64',
608
+ },
609
+ },
610
+ 'windowsfips2012r2-6432' => {
611
+ general: {
612
+ 'platform' => 'windows-2012r2-64',
613
+ 'packaging_platform' => 'windowsfips-2012-x64',
614
+ 'ruby_arch' => 'x64',
615
+ },
616
+ vmpooler: {
617
+ 'template' => 'win-2012r2-fips-x86_64',
618
+ },
619
+ },
620
+ 'windows2012r2-6432' => {
621
+ general: {
622
+ 'platform' => 'windows-2012r2-64',
623
+ 'packaging_platform' => 'windows-2012-x64',
624
+ 'ruby_arch' => 'x86',
625
+ },
626
+ vmpooler: {
627
+ 'template' => 'win-2012r2-x86_64',
628
+ },
629
+ },
630
+ 'windows2012r2_wmf5-64' => {
631
+ general: {
632
+ 'platform' => 'windows-2012r2-64',
633
+ 'packaging_platform' => 'windows-2012-x64',
634
+ 'ruby_arch' => 'x64',
635
+ },
636
+ vmpooler: {
637
+ 'template' => 'win-2012r2-wmf5-x86_64',
638
+ },
639
+ },
640
+ 'windows2012r2_ja-64' => {
641
+ general: {
642
+ 'platform' => 'windows-2012r2-64',
643
+ 'packaging_platform' => 'windows-2012-x64',
644
+ 'ruby_arch' => 'x64',
645
+ },
646
+ vmpooler: {
647
+ 'template' => 'win-2012r2-ja-x86_64',
648
+ 'locale' => 'ja',
649
+ },
650
+ },
651
+ 'windows2012r2_ja-6432' => {
652
+ general: {
653
+ 'platform' => 'windows-2012r2-64',
654
+ 'packaging_platform' => 'windows-2012-x64',
655
+ 'ruby_arch' => 'x86',
656
+ },
657
+ vmpooler: {
658
+ 'template' => 'win-2012r2-ja-x86_64',
659
+ 'locale' => 'ja',
660
+ },
661
+ },
662
+ 'windows2012r2_fr-64' => {
663
+ general: {
664
+ 'platform' => 'windows-2012r2-64',
665
+ 'packaging_platform' => 'windows-2012-x64',
666
+ 'ruby_arch' => 'x64',
667
+ },
668
+ vmpooler: {
669
+ 'template' => 'win-2012r2-fr-x86_64',
670
+ 'user' => 'Administrateur',
671
+ 'locale' => 'fr',
672
+ },
673
+ },
674
+ 'windows2012r2_fr-6432' => {
675
+ general: {
676
+ 'platform' => 'windows-2012r2-64',
677
+ 'packaging_platform' => 'windows-2012-x64',
678
+ 'ruby_arch' => 'x86',
679
+ },
680
+ vmpooler: {
681
+ 'template' => 'win-2012r2-fr-x86_64',
682
+ 'user' => 'Administrateur',
683
+ 'locale' => 'fr',
684
+ },
685
+ },
686
+ 'windows2012r2_core-64' => {
687
+ general: {
688
+ 'platform' => 'windows-2012r2-64',
689
+ 'packaging_platform' => 'windows-2012-x64',
690
+ 'ruby_arch' => 'x64',
691
+ },
692
+ vmpooler: {
693
+ 'template' => 'win-2012r2-core-x86_64',
694
+ },
695
+ },
696
+ 'windows2012r2_core-6432' => {
697
+ general: {
698
+ 'platform' => 'windows-2012r2-64',
699
+ 'packaging_platform' => 'windows-2012-x64',
700
+ 'ruby_arch' => 'x86',
701
+ },
702
+ vmpooler: {
703
+ 'template' => 'win-2012r2-core-x86_64',
704
+ },
705
+ },
706
+ 'windows2016-64' => {
707
+ general: {
708
+ 'platform' => 'windows-2016-64',
709
+ 'packaging_platform' => 'windows-2012-x64',
710
+ 'ruby_arch' => 'x64',
711
+ },
712
+ vmpooler: {
713
+ 'template' => 'win-2016-x86_64',
714
+ },
715
+ },
716
+ 'windows2016-6432' => {
717
+ general: {
718
+ 'platform' => 'windows-2016-64',
719
+ 'packaging_platform' => 'windows-2012-x64',
720
+ 'ruby_arch' => 'x86',
721
+ },
722
+ vmpooler: {
723
+ 'template' => 'win-2016-x86_64',
724
+ },
725
+ },
726
+ 'windows2016_core-64' => {
727
+ general: {
728
+ 'platform' => 'windows-2016-64',
729
+ 'packaging_platform' => 'windows-2012-x64',
730
+ 'ruby_arch' => 'x64',
731
+ },
732
+ vmpooler: {
733
+ 'template' => 'win-2016-core-x86_64',
734
+ },
735
+ },
736
+ 'windows2016_core-6432' => {
737
+ general: {
738
+ 'platform' => 'windows-2016-64',
739
+ 'packaging_platform' => 'windows-2012-x64',
740
+ 'ruby_arch' => 'x86',
741
+ },
742
+ vmpooler: {
743
+ 'template' => 'win-2016-core-x86_64',
744
+ },
745
+ },
746
+ 'windows2016_fr-64' => {
747
+ general: {
748
+ 'platform' => 'windows-2016-64',
749
+ 'packaging_platform' => 'windows-2012-x64',
750
+ 'ruby_arch' => 'x64',
751
+ },
752
+ vmpooler: {
753
+ 'template' => 'win-2016-fr-x86_64',
754
+ 'user' => 'Administrateur',
755
+ 'locale' => 'fr',
756
+ },
757
+ },
758
+ 'windows2016_fr-6432' => {
759
+ general: {
760
+ 'platform' => 'windows-2016-64',
761
+ 'packaging_platform' => 'windows-2012-x64',
762
+ 'ruby_arch' => 'x86',
763
+ },
764
+ vmpooler: {
765
+ 'template' => 'win-2016-fr-x86_64',
766
+ 'user' => 'Administrateur',
767
+ 'locale' => 'fr',
768
+ },
769
+ },
770
+ 'windows2019-64' => {
771
+ general: {
772
+ 'platform' => 'windows-2019-64',
773
+ 'packaging_platform' => 'windows-2012-x64',
774
+ 'ruby_arch' => 'x64',
775
+ },
776
+ vmpooler: {
777
+ 'template' => 'win-2019-x86_64',
778
+ },
779
+ },
780
+ 'windows2019-6432' => {
781
+ general: {
782
+ 'platform' => 'windows-2019-64',
783
+ 'packaging_platform' => 'windows-2012-x64',
784
+ 'ruby_arch' => 'x86',
785
+ },
786
+ vmpooler: {
787
+ 'template' => 'win-2019-x86_64',
788
+ },
789
+ },
790
+ 'windows2019_ja-64' => {
791
+ general: {
792
+ 'platform' => 'windows-2019-64',
793
+ 'packaging_platform' => 'windows-2012-x64',
794
+ 'ruby_arch' => 'x64',
795
+ },
796
+ vmpooler: {
797
+ 'template' => 'win-2019-ja-x86_64',
798
+ 'locale' => 'ja',
799
+ },
800
+ },
801
+ 'windows2019_ja-6432' => {
802
+ general: {
803
+ 'platform' => 'windows-2019-64',
804
+ 'packaging_platform' => 'windows-2012-x64',
805
+ 'ruby_arch' => 'x86',
806
+ },
807
+ vmpooler: {
808
+ 'template' => 'win-2019-ja-x86_64',
809
+ 'locale' => 'ja',
810
+ },
811
+ },
812
+ 'windows2019_fr-64' => {
813
+ general: {
814
+ 'platform' => 'windows-2019-64',
815
+ 'packaging_platform' => 'windows-2012-x64',
816
+ 'ruby_arch' => 'x64',
817
+ },
818
+ vmpooler: {
819
+ 'template' => 'win-2019-fr-x86_64',
820
+ 'user' => 'Administrateur',
821
+ 'locale' => 'fr',
822
+ },
823
+ },
824
+ 'windows2019_fr-6432' => {
825
+ general: {
826
+ 'platform' => 'windows-2019-64',
827
+ 'packaging_platform' => 'windows-2012-x64',
828
+ 'ruby_arch' => 'x86',
829
+ },
830
+ vmpooler: {
831
+ 'template' => 'win-2019-fr-x86_64',
832
+ 'user' => 'Administrateur',
833
+ 'locale' => 'fr',
834
+ },
835
+ },
836
+ 'windows2019_core-64' => {
837
+ general: {
838
+ 'platform' => 'windows-2019-64',
839
+ 'packaging_platform' => 'windows-2012-x64',
840
+ 'ruby_arch' => 'x64',
841
+ },
842
+ vmpooler: {
843
+ 'template' => 'win-2019-core-x86_64',
844
+ },
845
+ },
846
+ 'windows2019_core-6432' => {
847
+ general: {
848
+ 'platform' => 'windows-2019-64',
849
+ 'packaging_platform' => 'windows-2012-x64',
850
+ 'ruby_arch' => 'x86',
851
+ },
852
+ vmpooler: {
853
+ 'template' => 'win-2019-core-x86_64',
854
+ },
855
+ },
856
+ 'windows2022-64' => {
857
+ general: {
858
+ 'platform' => 'windows-2022-64',
859
+ 'packaging_platform' => 'windows-2012-x64',
860
+ 'ruby_arch' => 'x64',
861
+ },
862
+ vmpooler: {
863
+ 'template' => 'win-2022-x86_64',
864
+ },
865
+ },
866
+ 'windows10ent-32' => {
867
+ general: {
868
+ 'platform' => 'windows-10ent-32',
869
+ 'packaging_platform' => 'windows-2012-x86',
870
+ 'ruby_arch' => 'x86',
871
+ },
872
+ vmpooler: {
873
+ 'template' => 'win-10-ent-i386',
874
+ },
875
+ },
876
+ 'windows10ent-64' => {
877
+ general: {
878
+ 'platform' => 'windows-10ent-64',
879
+ 'packaging_platform' => 'windows-2012-x64',
880
+ 'ruby_arch' => 'x64',
881
+ },
882
+ vmpooler: {
883
+ 'template' => 'win-10-ent-x86_64',
884
+ },
885
+ },
886
+ 'windows10next-32' => {
887
+ general: {
888
+ 'platform' => 'windows-10ent-32',
889
+ 'packaging_platform' => 'windows-2012-x86',
890
+ 'ruby_arch' => 'x86',
891
+ },
892
+ vmpooler: {
893
+ 'template' => 'win-10-next-i386',
894
+ },
895
+ },
896
+ 'windows10next-64' => {
897
+ general: {
898
+ 'platform' => 'windows-10ent-64',
899
+ 'packaging_platform' => 'windows-2012-x64',
900
+ 'ruby_arch' => 'x64',
901
+ },
902
+ vmpooler: {
903
+ 'template' => 'win-10-next-x86_64',
904
+ },
905
+ },
906
+ 'windows10pro-64' => {
907
+ general: {
908
+ 'platform' => 'windows-10pro-64',
909
+ 'packaging_platform' => 'windows-2012-x64',
910
+ 'ruby_arch' => 'x64',
911
+ },
912
+ vmpooler: {
913
+ 'template' => 'win-10-pro-x86_64',
914
+ },
915
+ },
916
+ 'windows10_1511-64' => {
917
+ general: {
918
+ 'platform' => 'windows-10ent-64',
919
+ 'packaging_platform' => 'windows-2012-x64',
920
+ 'ruby_arch' => 'x64',
921
+ },
922
+ vmpooler: {
923
+ 'template' => 'win-10-1511-x86_64',
924
+ },
925
+ },
926
+ 'windows10_1607-64' => {
927
+ general: {
928
+ 'platform' => 'windows-10ent-64',
929
+ 'packaging_platform' => 'windows-2012-x64',
930
+ 'ruby_arch' => 'x64',
931
+ },
932
+ vmpooler: {
933
+ 'template' => 'win-10-1607-x86_64',
934
+ },
935
+ },
936
+ 'windows10_1809-64' => {
937
+ general: {
938
+ 'platform' => 'windows-10ent-64',
939
+ 'packaging_platform' => 'windows-2012-x64',
940
+ 'ruby_arch' => 'x64',
941
+ },
942
+ vmpooler: {
943
+ 'template' => 'win-10-1809-x86_64',
944
+ },
945
+ },
946
+ 'windows11ent-64' => {
947
+ general: {
948
+ 'platform' => 'windows-11ent-64',
949
+ 'packaging_platform' => 'windows-2012-x64',
950
+ 'ruby_arch' => 'x64',
951
+ },
952
+ vmpooler: {
953
+ 'template' => 'win-11-ent-x86_64',
954
+ },
955
+ },
956
+ })
1216
957
 
1217
958
  result['archlinux-64'] = result['archlinuxrolling-64']
1218
959
  result
@@ -1221,10 +962,10 @@ module BeakerHostGenerator
1221
962
  def osinfo_bhgv1
1222
963
  {
1223
964
  'centos7-64' => {
1224
- :general => {
965
+ general: {
1225
966
  'platform' => 'centos-7-x86_64',
1226
967
  },
1227
- :vmpooler => {
968
+ vmpooler: {
1228
969
  'template' => 'centos-7-x86_64',
1229
970
  },
1230
971
  },
@@ -1293,5 +1034,62 @@ module BeakerHostGenerator
1293
1034
 
1294
1035
  {}.deeper_merge!(info[:general]).deeper_merge!(info[hypervisor])
1295
1036
  end
1037
+
1038
+ # @api private
1039
+ def generate_osinfo
1040
+ # Fedora
1041
+ (19..36).each do |release|
1042
+ # 32 bit support was dropped in Fedora 31
1043
+ yield ["fedora#{release}-32", "fedora-#{release}-i386"] if release < 31
1044
+
1045
+ yield ["fedora#{release}-64", "fedora-#{release}-x86_64"]
1046
+ end
1047
+
1048
+ # Ubuntu
1049
+ #
1050
+ # Generate LTS platforms
1051
+ (18..22).select(&:even?).each do |release|
1052
+ yield ["ubuntu#{release}04-64", "ubuntu-#{release}.04-amd64"]
1053
+
1054
+ yield ["ubuntu#{release}04-POWER", "ubuntu-#{release}.04-ppc64el"]
1055
+
1056
+ yield ["ubuntu#{release}04-AARCH64", "ubuntu-#{release}.04-aarch64"]
1057
+ end
1058
+
1059
+ # Generate STS platforms
1060
+ [20, 21].each do |release|
1061
+ # Even years are LTS releases
1062
+ yield ["ubuntu#{release}04-64", "ubuntu-#{release}.04-amd64"] unless release.even?
1063
+
1064
+ yield ["ubuntu#{release}10-64", "ubuntu-#{release}.10-amd64"]
1065
+ end
1066
+
1067
+ # FreeBSD
1068
+ (12..13).each do |release|
1069
+ yield ["freebsd#{release}-64", "freebsd-#{release}-amd64"]
1070
+ end
1071
+
1072
+ # AlmaLinux and Rocky
1073
+ %w[almalinux rocky].each do |os|
1074
+ (8..9).each do |release|
1075
+ yield ["#{os}#{release}-64", "el-#{release}-x86_64"]
1076
+ end
1077
+ end
1078
+
1079
+ # Oracle
1080
+ yield ['oracle6-32', 'el-6-i386']
1081
+ (6..7).each do |release|
1082
+ yield ["oracle#{release}-64", "el-#{release}-x86_64"]
1083
+ end
1084
+
1085
+ # Scientific Linux
1086
+ yield ['scientific7-64', 'el-7-x86_64']
1087
+
1088
+ # OpenSUSE
1089
+ [15, 42].each do |release|
1090
+ yield ["opensuse#{release}-32", "opensuse-#{release}-i386"]
1091
+ yield ["opensuse#{release}-64", "opensuse-#{release}-x86_64"]
1092
+ end
1093
+ end
1296
1094
  end
1297
1095
  end