Skip to content

Commit 8b23e95

Browse files
(MODULES-11192)(MODULES-11168) Add AlmaLinux and Rocky to the
puppet-agent module
1 parent d22813a commit 8b23e95

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

metadata.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@
115115
"10.15",
116116
"11"
117117
]
118+
},
119+
{
120+
"operatingsystem": "AlmaLinux",
121+
"operatingsystemrelease": [
122+
"8"
123+
]
124+
},
125+
{
126+
"operatingsystem": "Rocky",
127+
"operatingsystemrelease": [
128+
"8"
129+
]
118130
}
119131
],
120132
"requirements": [

spec/classes/puppet_agent_osfamily_redhat_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
end
2121

22-
[['Fedora', 'fedora/f34', 34], ['CentOS', 'el/7', 7], ['Amazon', 'el/6', 2017], ['Amazon', 'el/7', 2]].each do |os, urlbit, osmajor|
22+
[['Rocky', 'el/8', 8], ['AlmaLinux', 'el/8', 8], ['Fedora', 'fedora/f34', 34], ['CentOS', 'el/7', 7], ['Amazon', 'el/6', 2017], ['Amazon', 'el/7', 2]].each do |os, urlbit, osmajor|
2323
context "with #{os} and #{urlbit}" do
2424
let(:facts) do
2525
super().merge(:operatingsystem => os, :operatingsystemmajrelease => osmajor)

0 commit comments

Comments
 (0)