Skip to content

Commit

Permalink
Merge pull request #182 from sircubbi/add_el9_support
Browse files Browse the repository at this point in the history
add support for EL9 (RedHat, Rocky and AlmaLinux)
  • Loading branch information
nward authored Feb 21, 2023
2 parents 6afb062 + 85bd7a6 commit 0159cae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
class freeradius::params {
# Make an educated guess which version of FR we are running, based on the OS
case $::operatingsystem {
/RedHat|CentOS|Rocky/: {
/RedHat|CentOS|Rocky|AlmaLinux/: {
$fr_guessversion = $::operatingsystemmajrelease ? {
5 => '2',
6 => '2',
7 => '3',
8 => '3',
9 => '3',
default => '3',
}
}
Expand Down
16 changes: 13 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,30 @@
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"8"
"8",
"9"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8",
"9"
]
},
{
Expand Down

0 comments on commit 0159cae

Please sign in to comment.