beaker-hostgenerator 1.7.0 → 1.7.1

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: 132dc94d5189e4ca79255f915ed53ef895b607a82df75f01948ee1e3ae97d3d8
4
- data.tar.gz: 75682b346b6d75f4a7bf457a0364919dc910698faa2ac7a318fdd1a2daae1824
3
+ metadata.gz: fc36b44395bf6f0041c88b00d0cfe48aa7cf7228266d37fe62ef97d243363439
4
+ data.tar.gz: c3c945d48d8014e840725d091cb5ec3dbee46f78eaf0ffceac663ccb396b9c86
5
5
  SHA512:
6
- metadata.gz: 3a3ee4782860c88a2f5717f5f0a1eb8e65686ca9c0e1b165cadb9154cc24234261a0a86477bfea4b548aae4db6e68e07a9832ef0ece0a88ebc57e5a3252e9854
7
- data.tar.gz: 18b20b4d3b7f9bdc007b60afebdf2609e3bc2f9212b26953fb9fada146793d083e1ec602778c359d85381447f0ce18bdce4788a72097860c770db3d0917b2b10
6
+ metadata.gz: 4439bc945c20414a53ea46ca748f2409e3adaa4f5d839f5cbb15ba6059dd63cc3afb6c7610bf9b61af06680ca2405c9355fae4e91377df1c7bb66b739c35f1e8
7
+ data.tar.gz: 37a7b8f9ab417ba43d4a4e1e5c6ab95f18effdff461740e68c343ad465533ec4d3a2dfa7bb0faeaaf856976df19181e1e500a682f1167d4edc90adb00fef3869
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.7.1](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.7.1) (2021-09-22)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.7.0...1.7.1)
8
+
9
+ **Fixed bugs:**
10
+
11
+ - Add ABS support for Rocky and Alma 8 [\#228](https://github.com/voxpupuli/beaker-hostgenerator/pull/228) ([GabrielNagy](https://github.com/GabrielNagy))
12
+
5
13
  ## [1.7.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.7.0) (2021-09-22)
6
14
 
7
15
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.6.1...1.7.0)
@@ -23,10 +23,10 @@ module BeakerHostGenerator
23
23
  base_config = base_generate_node(node_info, base_config, bhg_version, :vmpooler, :abs)
24
24
 
25
25
  case node_info['ostype']
26
- when /^centos/
27
- base_config['template'] = base_config['platform'].gsub(/^el/, 'centos')
26
+ when /^(almalinux|centos|redhat|rocky)/
27
+ base_config['template'] ||= base_config['platform'].gsub(/^el/, $1)
28
28
  when /^fedora/
29
- base_config['template'] = base_config['platform']
29
+ base_config['template'] ||= base_config['platform']
30
30
  when /^ubuntu/
31
31
  base_template = node_info['ostype'].sub('ubuntu', 'ubuntu-')
32
32
  arch = case node_info['bits']
@@ -37,12 +37,12 @@ module BeakerHostGenerator
37
37
  when 'AARCH64'
38
38
  'arm64'
39
39
  when 'POWER'
40
- base_template = node_info['ostype'].sub(/ubuntu(\d\d)/, 'ubuntu-\1.')
40
+ base_template.sub!(/ubuntu-(\d\d)/, 'ubuntu-\1.')
41
41
  'power8'
42
42
  else
43
43
  raise "Unknown bits '#{node_info['bits']}' for '#{node_info['ostype']}'"
44
44
  end
45
- base_config['template'] = "#{base_template}-#{arch}"
45
+ base_config['template'] ||= "#{base_template}-#{arch}"
46
46
  end
47
47
 
48
48
  base_config
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '1.7.0'
3
+ STRING = '1.7.1'
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: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley