From b519f9e3e2a6f6fd3d195406a8a287a42b5d1910 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 13 Nov 2017 15:53:43 +0100 Subject: [PATCH] Changing logrotate for mcollective --- common.yaml | 3 +-- customer/pixelpark-dns/common.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/common.yaml b/common.yaml index 15f55667..9db43ef9 100644 --- a/common.yaml +++ b/common.yaml @@ -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 diff --git a/customer/pixelpark-dns/common.yaml b/customer/pixelpark-dns/common.yaml index 0d1dd324..5f6ab4c1 100644 --- a/customer/pixelpark-dns/common.yaml +++ b/customer/pixelpark-dns/common.yaml @@ -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 -- 2.39.5