beaker-hostgenerator 2.6.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: fd0ed1e0d0e0f83f0abbb56f6d19c5a69e08f0ea86bae3893984caaf35217a0b
4
- data.tar.gz: 4a3d67415444077f6f8e8ba9278825651528d7394a830c327bdb76790d4a0a50
3
+ metadata.gz: abd4d336ed4341ce202a4974d28a39e46d140b7a1205c2e2687ef48098f8f7ec
4
+ data.tar.gz: 7f03e17d963ddd8e7ef380fbefc312e558208fcd4bd0aada54f86bf437077a50
5
5
  SHA512:
6
- metadata.gz: 29c89c19aa97f550cbfb8495a42ed6c3d8bb8bee788dc88f1d38167a38d2dad10ee23c46be6509fd068ec74adbfc4b34b9f77443107b1396b67157892cc28323
7
- data.tar.gz: ca56c59aa586176c41e0c89a86632b8a32e09d0b6cd016e93fb399300c9441a06e901eced39a8abf022027b1b9865a6bf9f4864e4a91e9ac1d7fd233240c3a4c
6
+ metadata.gz: a03151f4df94c8d2e9422bc3fe10e4ae38921da0bf0496ba1f0214675b3f806c4c8554fcde8f17e8f134905d6036505cf4cbabb41ec2621245e9207a8b4557c4
7
+ data.tar.gz: dc0bb98945538027004ba10f2cd9304810f8160f8473ed1d62f098f71290e4116a61abb93caea391f4a136b4427fcf25b73900fd034a3803878549793fa73833
data/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
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
+
5
18
  ## [2.6.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.6.0) (2023-10-02)
6
19
 
7
20
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.5.0...2.6.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
@@ -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.6.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.6.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-10-02 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