]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Fixing logrotate on test-mail02.pixelpark.net
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 26 Oct 2017 15:40:43 +0000 (17:40 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 26 Oct 2017 15:40:43 +0000 (17:40 +0200)
customer/pixelpark-mail/test-mail02.pixelpark.net.yaml

index 6b8ed62fe772420cebcad048d078609ab78fb4ca..44817765a9828c13d8efbf0003d1c51fc7e3a50e 100644 (file)
@@ -54,6 +54,9 @@ logrotate::config:
   compress: true
   delaycompress: true
   missingok: true
+  mail: false
+  olddir: false
+  ifempty: false
 
 logrotate::rules:
   wtmp:
@@ -80,13 +83,14 @@ logrotate::rules:
     create_group: 'utmp'
     minsize: '1M'
     rotate: 1
-#  samba1:
-#    path: '/var/log/samba/*'
-#    notifempty: true
-#    olddir: '/var/log/samba/old'
-#    missingok: true
-#    dateext: true
-#    dateformat: '-%Y-%m-%d'
-#    copytruncate: true
+  samba:
+    path: '/var/log/samba/*'
+    ifempty: false
+    olddir: '/var/log/samba/old'
+    missingok: true
+    dateext: true
+    dateformat: '-%Y-%m-%d'
+    copytruncate: true
+    sharedscripts: true
 
 # vim: et