]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Fixing logrotate configuration
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 27 Oct 2017 13:22:10 +0000 (15:22 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 27 Oct 2017 13:22:10 +0000 (15:22 +0200)
customer/pixelpark-mail/common.yaml

index c1db74b234a5689eec0343e2df69ad20d95e2d49..69375c3aec67a73c02f63c9d13a2bf5e9eebb68e 100644 (file)
@@ -151,9 +151,9 @@ infra::profile::logrotate::rules:
   named:
     path: '/var/log/named/*.log'
     rotate_every: 'day'
+    rotate: 10
     missingok: true
     minsize: '4M'
-    #su: true
     su_owner: 'named'
     su_group: 'named'
     create: true
@@ -171,7 +171,6 @@ infra::profile::logrotate::rules:
   named_run:
     path: '/var/named/data/named.run'
     missingok: true
-    #su: true
     su_owner: 'named'
     su_group: 'named'
     create: true