]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Changing logrotate for mcollective
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 13 Nov 2017 14:53:43 +0000 (15:53 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 13 Nov 2017 14:53:43 +0000 (15:53 +0100)
common.yaml
customer/pixelpark-dns/common.yaml

index 15f5566719124547af1faed641c34d4b10fd903f..9db43ef9c1412aa4d8a518926cec607f5cdc71ea 100644 (file)
@@ -68,8 +68,7 @@ infra::profile::logrotate::rules:
     delaycompress: true
     minsize: '4M'
     sharedscripts: true
-    postrotate: |
-      /etc/init.d/mcollective restart >/dev/null 2>&1 || true
+    postrotate: '/etc/init.d/mcollective restart >/dev/null 2>&1 || true'
 
 #####################################################
 # Account definitions
index 0d1dd3247a794b0c13c4e2e3eea0fd5f7fb7df31..5f6ab4c1a81719a81d4dfb7a6b722f9fd652b87c 100644 (file)
@@ -28,8 +28,7 @@ infra::profile::logrotate::rules:
     delaycompress: true
     missingok: true
     sharedscripts: true
-    postrotate: |
-      /usr/sbin/rndc reload >/dev/null
+    postrotate: '/usr/sbin/rndc reload >/dev/null'
   named_run:
     path: '/var/named/data/named.run'
     missingok: true