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