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 (
logrotate::rule { 'radacct':
path => "${freeradius::fr_logpath}/radacct/*/*.log",
rotate_every => 'day',
rotate => 7,
rotate => '7',
create => false,
missingok => true,
compress => true,
......@@ -214,7 +214,7 @@ class freeradius (
logrotate::rule { 'checkrad':
path => "${freeradius::fr_logpath}/checkrad.log",
rotate_every => 'week',
rotate => 1,
rotate => '1',
create => true,
missingok => true,
compress => true,
......@@ -225,7 +225,7 @@ class freeradius (
logrotate::rule { 'radiusd':
path => "${freeradius::fr_logpath}/radius*.log",
rotate_every => 'week',
rotate => 26,
rotate => '26',
create => true,
missingok => 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