diff --git a/manifests/params.pp b/manifests/params.pp index 78c4292f..fb6431c4 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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', } } diff --git a/metadata.json b/metadata.json index 22d2b42a..71d533b3 100644 --- a/metadata.json +++ b/metadata.json @@ -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" ] }, {