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
     }
