From 1b02e23102c4da48ed7c10b5e23fbf3ff0be5df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20=C3=81lvaro?= Date: Thu, 27 Dec 2018 20:15:18 +0100 Subject: [PATCH] Remove logrotate salt-common configuration --- assets/runtime/functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/runtime/functions.sh b/assets/runtime/functions.sh index 1779604..50847d4 100755 --- a/assets/runtime/functions.sh +++ b/assets/runtime/functions.sh @@ -202,6 +202,10 @@ function configure_logrotate() { echo "Configuring logrotate ..." + if [[ -f /etc/logrotate.d/salt-common ]]; then + rm /etc/logrotate.d/salt-common + fi + # configure supervisord log rotation cat > /etc/logrotate.d/supervisord <