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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/simp/beaker_helpers/version.rb +1 -1
- data/lib/simp/beaker_helpers.rb +13 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e12166a33cca84b167545aee4efc3028ba09d46e1067aa00d62d6eb41a170b7
|
4
|
+
data.tar.gz: 41b71fae99411f4817927d40aa7763d46ec0ba96246054768149b04e763a0fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44b3731e4953d446ddccb495934ac334b3aaee62f4d768921d8be6aae9c8425c31997334c10dea0f84b1a38d4205aa3e1ce272ffefb1ff04003ec49979691776
|
7
|
+
data.tar.gz: 522e33939ad65d12416792e9241f7891eefc55dcf4f5d4fc1c02b0efffe7758a015a36c9115706e61df764e59df3a9e9d03f36c6a2ce3b449b1b7747dcc4b846
|
data/CHANGELOG.md
CHANGED
data/lib/simp/beaker_helpers.rb
CHANGED
@@ -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']
|
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 [
|
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.
|
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-
|
12
|
+
date: 2022-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: beaker
|