beaker-hostgenerator 2.5.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b52d38a0594435ebf51c4bd03d67a7671a1d90ba47ac60ec8f408792da1564e
4
- data.tar.gz: 825344e22b2dcd864e1c2f612eb924f3e2fe3eef71050788cb019422fc51d6b0
3
+ metadata.gz: abd4d336ed4341ce202a4974d28a39e46d140b7a1205c2e2687ef48098f8f7ec
4
+ data.tar.gz: 7f03e17d963ddd8e7ef380fbefc312e558208fcd4bd0aada54f86bf437077a50
5
5
  SHA512:
6
- metadata.gz: de5dd73d4a194cf3386af3a48f042a52c1b76e24b5b096e24172f89500772bebe5af1e7740f73a381fc0467f31291f496568fd8fa4ab2b7119da334446009f2a
7
- data.tar.gz: 49a37f224ed30d6f5506bced2c290de626157041151bee6bc4ddcd31b22bea4770e96aed5922c80b88a4533a203b7204dd51bdfed2d31c599560f494e8f243bc
6
+ metadata.gz: a03151f4df94c8d2e9422bc3fe10e4ae38921da0bf0496ba1f0214675b3f806c4c8554fcde8f17e8f134905d6036505cf4cbabb41ec2621245e9207a8b4557c4
7
+ data.tar.gz: dc0bb98945538027004ba10f2cd9304810f8160f8473ed1d62f098f71290e4116a61abb93caea391f4a136b4427fcf25b73900fd034a3803878549793fa73833
data/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.7.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.7.0) (2023-10-12)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.6.0...2.7.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Add redhat9-power [\#339](https://github.com/voxpupuli/beaker-hostgenerator/pull/339) ([yachub](https://github.com/yachub))
12
+ - Add aix73-power [\#338](https://github.com/voxpupuli/beaker-hostgenerator/pull/338) ([yachub](https://github.com/yachub))
13
+
14
+ **Fixed bugs:**
15
+
16
+ - Use the safe operator to avoid crashing [\#337](https://github.com/voxpupuli/beaker-hostgenerator/pull/337) ([ekohl](https://github.com/ekohl))
17
+
18
+ ## [2.6.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.6.0) (2023-10-02)
19
+
20
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.5.0...2.6.0)
21
+
22
+ **Implemented enhancements:**
23
+
24
+ - Add amazon2023-AARCH64 [\#335](https://github.com/voxpupuli/beaker-hostgenerator/pull/335) ([yachub](https://github.com/yachub))
25
+
5
26
  ## [2.5.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.5.0) (2023-09-25)
6
27
 
7
28
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.4.0...2.5.0)
@@ -382,6 +382,14 @@ module BeakerHostGenerator
382
382
  'template' => 'redhat-9-arm64',
383
383
  },
384
384
  },
385
+ 'redhat9-POWER' => {
386
+ general: {
387
+ 'platform' => 'el-9-ppc64le',
388
+ },
389
+ abs: {
390
+ 'template' => 'redhat-9-power',
391
+ },
392
+ },
385
393
  'sles11-32' => {
386
394
  general: {
387
395
  'platform' => 'sles-11-i386',
@@ -1066,6 +1074,9 @@ module BeakerHostGenerator
1066
1074
 
1067
1075
  # @api private
1068
1076
  def generate_osinfo
1077
+ # AIX
1078
+ yield %w[aix73-POWER aix-7.3-power]
1079
+
1069
1080
  # Fedora
1070
1081
  (19..38).each do |release|
1071
1082
  # 32 bit support was dropped in Fedora 31
@@ -1100,6 +1111,7 @@ module BeakerHostGenerator
1100
1111
 
1101
1112
  # Amazon Linux
1102
1113
  yield %w[amazon2023-64 amazon-2023-x86_64]
1114
+ yield %w[amazon2023-AARCH64 amazon-2023-arm64]
1103
1115
 
1104
1116
  # AlmaLinux and Rocky
1105
1117
  %w[almalinux rocky].each do |os|
@@ -24,8 +24,8 @@ module BeakerHostGenerator
24
24
 
25
25
  case node_info['ostype']
26
26
  when /^(almalinux|centos|oracle|redhat|rocky|scientific)/
27
- base_config['template'] ||= base_config['platform'].gsub(/^el/, ::Regexp.last_match(1))
28
- when /^amazon/, /^fedora/, /^opensuse/, /^panos/
27
+ base_config['template'] ||= base_config['platform']&.gsub(/^el/, ::Regexp.last_match(1))
28
+ when /^aix/, /^amazon/, /^fedora/, /^opensuse/, /^panos/
29
29
  base_config['template'] ||= base_config['platform']
30
30
  when /^(debian|ubuntu)/
31
31
  os = Regexp.last_match(1)
@@ -19,7 +19,7 @@ module BeakerHostGenerator
19
19
 
20
20
  case node_info['ostype']
21
21
  when /^(almalinux|centos|oracle|redhat|rocky|scientific)/
22
- base_config['template'] ||= base_config['platform'].gsub(/^el/, ::Regexp.last_match(1))
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
25
  when /^(debian|ubuntu)/
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '2.5.0'
3
+ STRING = '2.7.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: 2.5.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-09-25 00:00:00.000000000 Z
14
+ date: 2023-10-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fakefs