Commit a99d3d30 authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #91 from infracaninophile/logrotate

Test provinding values as integers
parents e428bdb0 7842aa10
...@@ -311,7 +311,7 @@ class freeradius ( ...@@ -311,7 +311,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,
...@@ -322,7 +322,7 @@ class freeradius ( ...@@ -322,7 +322,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,
...@@ -333,7 +333,7 @@ class freeradius ( ...@@ -333,7 +333,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