Package: puppet-module-rodjek-logrotate / 1.1.1+ds1-7

fix-nonexistent-toplevel-facts.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix nonexistent toplevel facts
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2025-05-13

--- puppet-module-rodjek-logrotate-1.1.1+ds1.orig/manifests/base.pp
+++ puppet-module-rodjek-logrotate-1.1.1+ds1/manifests/base.pp
@@ -28,7 +28,7 @@ class logrotate::base {
       source  => 'puppet:///modules/logrotate/etc/cron.daily/logrotate';
   }
 
-  case $::osfamily {
+  case $facts['os']['family'] {
     'Debian': {
       include logrotate::defaults::debian
     }