simp-beaker-helpers 1.26.2 → 1.27.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: 1a861935f1cb30047688354b52fe5208622c767e05de0637149e6b4042b28d0a
4
- data.tar.gz: 834f97957b17b804aad1a9320944c4229b5c2bcd8eccc0f2dd1373b31841f0d9
3
+ metadata.gz: 3e12166a33cca84b167545aee4efc3028ba09d46e1067aa00d62d6eb41a170b7
4
+ data.tar.gz: 41b71fae99411f4817927d40aa7763d46ec0ba96246054768149b04e763a0fe0
5
5
  SHA512:
6
- metadata.gz: fb60e2fa1a182349fa7fcc03e71d7615952400aa6d806d1db0c4b96fdf97a333a8717ddd25b39f61134fba230190c98f707be854be7b5a3edc56fcdb9f4986e9
7
- data.tar.gz: '089f9e55f5d55fedd54024c83ef828e05efe9c9e21dc81087abdfb139f748643ab3b836b7eade7649ac348e56b1d3cfb3abfb68252d8a571393054479b3bb4d6'
6
+ metadata.gz: 44b3731e4953d446ddccb495934ac334b3aaee62f4d768921d8be6aae9c8425c31997334c10dea0f84b1a38d4205aa3e1ce272ffefb1ff04003ec49979691776
7
+ data.tar.gz: 522e33939ad65d12416792e9241f7891eefc55dcf4f5d4fc1c02b0efffe7758a015a36c9115706e61df764e59df3a9e9d03f36c6a2ce3b449b1b7747dcc4b846
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.27.0 / 2022-07-30
2
+ * Added:
3
+ * Add EPEL support for Amazon, Rocky, and Alma distributions
4
+
1
5
  ### 1.26.2 / 2022-07-26
2
6
  * Fixed:
3
7
  * Limit the length of the CN field of the certificates to 64 bytes
@@ -1,5 +1,5 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.26.2'
4
+ VERSION = '1.27.0'
5
5
  end
@@ -636,7 +636,7 @@ module Simp::BeakerHelpers
636
636
 
637
637
  # This is based on the official EPEL docs https://fedoraproject.org/wiki/EPEL
638
638
  case os_info['name']
639
- when 'RedHat','CentOS'
639
+ when 'RedHat','CentOS','AlmaLinux','Rocky'
640
640
  install_latest_package_on(
641
641
  sut,
642
642
  'epel-release',
@@ -655,7 +655,7 @@ module Simp::BeakerHelpers
655
655
  end
656
656
  end
657
657
 
658
- if os_info['name'] == 'CentOS'
658
+ if ['CentOS','AlmaLinux','Rocky'].include?(os_info['name'])
659
659
  if os_maj_rel == '8'
660
660
  # 8.0 fallback
661
661
  install_latest_package_on(sut, 'dnf-plugins-core')
@@ -665,8 +665,9 @@ module Simp::BeakerHelpers
665
665
  when 'OracleLinux'
666
666
  package_name = "oracle-epel-release-el#{os_maj_rel}"
667
667
  install_latest_package_on(sut,package_name)
668
+ when 'Amazon'
669
+ on sut, %{amazon-linux-extras install epel -y}
668
670
  end
669
-
670
671
  end
671
672
  end
672
673
  end
@@ -773,12 +774,19 @@ module Simp::BeakerHelpers
773
774
  end
774
775
  end
775
776
 
776
- if ['CentOS','RedHat','OracleLinux'].include?(os_info['name'])
777
+ if [
778
+ 'AlmaLinux',
779
+ 'Amazon',
780
+ 'CentOS',
781
+ 'OracleLinux',
782
+ 'RedHat',
783
+ 'Rocky'
784
+ ].include?(os_info['name'])
777
785
  enable_yum_repos_on(sut)
778
786
  enable_epel_on(sut)
779
787
 
780
788
  # net-tools required for netstat utility being used by be_listening
781
- if os_info['release']['major'].to_i >= 7
789
+ if (os_info['release']['major'].to_i >= 7) ||((os_info['name'] == 'Amazon') && (os_info['release']['major'].to_i >= 2))
782
790
  pp = <<-EOS
783
791
  package { 'net-tools': ensure => installed }
784
792
  EOS
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-beaker-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.2
4
+ version: 1.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-07-26 00:00:00.000000000 Z
12
+ date: 2022-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: beaker