Commit 3a6d8229 authored by Jonathan's avatar Jonathan
Browse files

Merge pull request #19 from raphink/dev/logrotate

rotate attribute must be passed as a string
parents 5d9ba878 fba271f0
...@@ -203,7 +203,7 @@ class freeradius ( ...@@ -203,7 +203,7 @@ class freeradius (
logrotate::rule { 'radacct': logrotate::rule { 'radacct':
path => "${freeradius::fr_logpath}/radacct/*/*.log", path => "${freeradius::fr_logpath}/radacct/*/*.log",
rotate_every => 'day', rotate_every => 'day',
rotate => 7, rotate => '7',
create => false, create => false,
missingok => true, missingok => true,
compress => true, compress => true,
...@@ -214,7 +214,7 @@ class freeradius ( ...@@ -214,7 +214,7 @@ class freeradius (
logrotate::rule { 'checkrad': logrotate::rule { 'checkrad':
path => "${freeradius::fr_logpath}/checkrad.log", path => "${freeradius::fr_logpath}/checkrad.log",
rotate_every => 'week', rotate_every => 'week',
rotate => 1, rotate => '1',
create => true, create => true,
missingok => true, missingok => true,
compress => true, compress => true,
...@@ -225,7 +225,7 @@ class freeradius ( ...@@ -225,7 +225,7 @@ class freeradius (
logrotate::rule { 'radiusd': logrotate::rule { 'radiusd':
path => "${freeradius::fr_logpath}/radius*.log", path => "${freeradius::fr_logpath}/radius*.log",
rotate_every => 'week', rotate_every => 'week',
rotate => 26, rotate => '26',
create => true, create => true,
missingok => true, missingok => true,
compress => true, compress => 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