beaker-hostgenerator 2.6.0 → 2.8.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: 42882c9eb36079b2db78e76c7a740cf9ad2cf267c87e9b96506ce1dec4c26aab
4
+ data.tar.gz: de4e7feafaa69486885fce7682fd782bbfecfa9a882653e9eebec9d49abb181b
5
5
  SHA512:
6
- metadata.gz: 29c89c19aa97f550cbfb8495a42ed6c3d8bb8bee788dc88f1d38167a38d2dad10ee23c46be6509fd068ec74adbfc4b34b9f77443107b1396b67157892cc28323
7
- data.tar.gz: ca56c59aa586176c41e0c89a86632b8a32e09d0b6cd016e93fb399300c9441a06e901eced39a8abf022027b1b9865a6bf9f4864e4a91e9ac1d7fd233240c3a4c
6
+ metadata.gz: 816969ae29d7492aebecdcfb734b42b07f840e76ae42d7115cb46e2b292075dce151ca56dc9abea2d465d21c53c0fc56f181ef9f8bbc18ad2078168232575912
7
+ data.tar.gz: 15762982530946bee0ddfebd2bc57962ed381f04c4b8e4744879763f52e057b688cc68e12afbc7c188c720421f29d419adb016cacb5998c43dafe569b9e9d9d1
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.8.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.8.0) (2023-11-01)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.7.0...2.8.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Add osx14-64 and osx14-ARM64 support [\#341](https://github.com/voxpupuli/beaker-hostgenerator/pull/341) ([yachub](https://github.com/yachub))
12
+
13
+ ## [2.7.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.7.0) (2023-10-12)
14
+
15
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.6.0...2.7.0)
16
+
17
+ **Implemented enhancements:**
18
+
19
+ - Add redhat9-power [\#339](https://github.com/voxpupuli/beaker-hostgenerator/pull/339) ([yachub](https://github.com/yachub))
20
+ - Add aix73-power [\#338](https://github.com/voxpupuli/beaker-hostgenerator/pull/338) ([yachub](https://github.com/yachub))
21
+
22
+ **Fixed bugs:**
23
+
24
+ - Use the safe operator to avoid crashing [\#337](https://github.com/voxpupuli/beaker-hostgenerator/pull/337) ([ekohl](https://github.com/ekohl))
25
+
5
26
  ## [2.6.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.6.0) (2023-10-02)
6
27
 
7
28
  [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
@@ -1123,6 +1134,10 @@ module BeakerHostGenerator
1123
1134
  yield ["opensuse#{release}-32", "opensuse-#{release}-i386"]
1124
1135
  yield ["opensuse#{release}-64", "opensuse-#{release}-x86_64"]
1125
1136
  end
1137
+
1138
+ # macOS
1139
+ yield %w[osx14-64 osx-14-x86_64]
1140
+ yield %w[osx14-ARM64 osx-14-arm64]
1126
1141
  end
1127
1142
  end
1128
1143
  end
@@ -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)
@@ -44,6 +44,8 @@ module BeakerHostGenerator
44
44
  raise "Unknown bits '#{node_info['bits']}' for '#{node_info['ostype']}'"
45
45
  end
46
46
  base_config['template'] ||= "#{base_template}-#{arch}"
47
+ when /^osx/
48
+ base_config['template'] ||= base_config['platform']&.gsub(/^osx/, 'macos')
47
49
  end
48
50
 
49
51
  base_config
@@ -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.8.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.8.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-11-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fakefs