File: fix-default-class.patch

package info (click to toggle)
puppet-module-rodjek-logrotate 1.1.1%2Bds1-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 236 kB
  • sloc: ruby: 906; sh: 32; makefile: 10
file content (19 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (3)
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 {