Commit 97c33b88 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Fix path error

parent 3119bb92
......@@ -4,18 +4,18 @@ define freeradius::attr (
$ensure = present,
$key = 'User-Name',
) {
$fr_package = $::freeradius::params::fr_package
$fr_service = $::freeradius::params::fr_service
$fr_basepath = $::freeradius::params::fr_basepath
$fr_group = $::freeradius::params::fr_group
$fr_modconfigpath = $::freeradius::params::fr_modconfigpath
$fr_modulepath = $::freeradius::params::fr_modulepath
$fr_package = $::freeradius::params::fr_package
$fr_service = $::freeradius::params::fr_service
$fr_basepath = $::freeradius::params::fr_basepath
$fr_group = $::freeradius::params::fr_group
$fr_moduleconfigpath = $::freeradius::params::fr_moduleconfigpath
$fr_modulepath = $::freeradius::params::fr_modulepath
# Decide on location for attribute filters
$location = $::freeradius_maj_version ? {
2 => $fr_basepath,
3 => $fr_modconfigpath,
default => $fr_modconfigpath,
3 => "$fr_moduleconfigpath/attr_filter",
default => $fr_moduleconfigpath,
}
# Install the attribute filter snippet
......
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