Commit 459e98d1 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Fix path reference for logrotate

parent 0850a539
......@@ -32,6 +32,7 @@ define freeradius::sql (
$fr_service = $::freeradius::params::fr_service
$fr_basepath = $::freeradius::params::fr_basepath
$fr_group = $::freeradius::params::fr_group
$fr_logpath = $::freeradius::params::fr_logpath
# Validate our inputs
# Validate multiple choice options
......@@ -102,7 +103,7 @@ define freeradius::sql (
# Install rotation for sqltrace if we are using it
if ($sqltrace == 'yes') {
logrotate::rule { 'sqltrace':
path => "{$freeradius::fr_logpath}/${sqltracefile}",
path => "${fr_logpath}/${sqltracefile}",
rotate_every => 'week',
rotate => 1,
create => true,
......
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