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
Branches
Tags
No related merge requests found
......@@ -36,6 +36,13 @@ class freeradius::params {
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
$fr_logpath = $::osfamily ? {
'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