Commit 0850a539 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Use $modulepath to place modules in the right directory on FR3

parent 463cffac
...@@ -6,10 +6,10 @@ define freeradius::module ( ...@@ -6,10 +6,10 @@ define freeradius::module (
) { ) {
$fr_package = $::freeradius::params::fr_package $fr_package = $::freeradius::params::fr_package
$fr_service = $::freeradius::params::fr_service $fr_service = $::freeradius::params::fr_service
$fr_basepath = $::freeradius::params::fr_basepath $fr_modulepath = $::freeradius::params::fr_modulepath
$fr_group = $::freeradius::params::fr_group $fr_group = $::freeradius::params::fr_group
file { "${fr_basepath}/modules/${name}": file { "${fr_modulepath}/${name}":
ensure => $ensure, ensure => $ensure,
mode => '0640', mode => '0640',
owner => 'root', owner => 'root',
......
...@@ -76,7 +76,7 @@ define freeradius::sql ( ...@@ -76,7 +76,7 @@ define freeradius::sql (
} }
# Generate a module config, based on sql.conf # Generate a module config, based on sql.conf
file { "${fr_basepath}/modules/${name}": file { "${fr_modulepath}/${name}":
ensure => $ensure, ensure => $ensure,
mode => '0640', mode => '0640',
owner => 'root', owner => 'root',
......
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