Commit a8569a4f authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Add new param default fr_moduledir

parent 7828887b
......@@ -36,13 +36,16 @@ 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",
# Default module dir
$fr_moduledir = $::freeradius_version ? {
/^2\./ => 'modules',
/^3\./ => 'mods-enabled',
default => 'modules',
}
# Default module path
$fr_modulepath = "${fr_basepath}/${fr_moduledir}"
# Path for FreeRADIUS logs
$fr_logpath = $::osfamily ? {
'RedHat' => '/var/log/radius',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment