[salt/el5] Add logrotate script

Erik Johnson terminalmage at fedoraproject.org
Thu Jul 10 23:08:22 UTC 2014


commit d483314da9c255fb4cea839db727c2a6f2fae7ad
Author: Erik Johnson <erik at saltstack.com>
Date:   Thu Jul 10 18:08:38 2014 -0500

    Add logrotate script

 logrotate.salt |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
---
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
+}


More information about the scm-commits mailing list