Skip to content
Snippets Groups Projects
Commit 463cffac authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Add parameter for module path which varies between FR2 and FR3

parent 3a6d8229
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,13 @@ class freeradius::params { ...@@ -36,6 +36,13 @@ class freeradius::params {
default => '/etc/raddb', default => '/etc/raddb',
} }
# Default module path
$fr_modulepath = $::freeradius_version ? {
/^2\./ => "${fr_basepath}/modules",
/^3\./ => "${fr_basepath}/mods-enabled",
default => "${fr_basepath}/modules",
}
# Path for FreeRADIUS logs # Path for FreeRADIUS logs
$fr_logpath = $::osfamily ? { $fr_logpath = $::osfamily ? {
'RedHat' => '/var/log/radius', 'RedHat' => '/var/log/radius',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment