From 0820b5344ca0b99d1549c99a4c9d958c66e6e73f Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Mon, 4 Aug 2014 16:43:56 -0500 Subject: [PATCH] Add logrotate script --- logrotate.salt | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 logrotate.salt diff --git a/logrotate.salt b/logrotate.salt new file mode 100644 index 0000000..2125f41 --- /dev/null +++ b/logrotate.salt @@ -0,0 +1,39 @@ +/var/log/salt/master { + weekly + missingok + rotate 5 + compress + notifempty +} + +/var/log/salt/minion { + weekly + missingok + rotate 5 + compress + notifempty +} + +/var/log/salt/key { + weekly + missingok + rotate 5 + compress + notifempty +} + +/var/log/salt/cloud { + weekly + missingok + rotate 5 + compress + notifempty +} + +/var/log/salt/ssh { + weekly + missingok + rotate 5 + compress + notifempty +}