Commit 314d3ee9 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Fix wildcard for log rotation

parent 7bfc087c
Loading
Loading
Loading
Loading
+2 −1
Changes for manifests/init.pp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -219,10 +219,11 @@ class freeradius (
    missingok     => true,
    compress      => true,
    postrotate    => 'kill -HUP `cat /var/run/radiusd/radiusd.pid`',
    sharedscripts => true,
  }

  logrotate::rule { 'radiusd':
    path          => "${freeradius::fr_logpath}/rad*",
    path          => "${freeradius::fr_logpath}/radius*log",
    rotate_every  => 'week',
    rotate        => 26,
    create        => true,