1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Fix default class
Without this patch, using this module symply fails in Debian, as the
module is trying to do a regexp on the "rotate" parameter, instead of
using Puppet types.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2021-03-18
--- puppet-module-rodjek-logrotate-1.1.1+ds1.orig/manifests/defaults/debian.pp
+++ puppet-module-rodjek-logrotate-1.1.1+ds1/manifests/defaults/debian.pp
@@ -10,7 +10,7 @@ class logrotate::defaults::debian {
create => true,
create_owner => 'root',
create_group => 'utmp',
- rotate => 1,
+ rotate => '1',
}
logrotate::rule {
|