summaryrefslogtreecommitdiff
path: root/files/cron.d/puppetmaster.CentOS
diff options
context:
space:
mode:
Diffstat (limited to 'files/cron.d/puppetmaster.CentOS')
-rw-r--r--files/cron.d/puppetmaster.CentOS2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/cron.d/puppetmaster.CentOS b/files/cron.d/puppetmaster.CentOS
new file mode 100644
index 0000000..40a16e7
--- /dev/null
+++ b/files/cron.d/puppetmaster.CentOS
@@ -0,0 +1,2 @@
+# we restart puppetmaster every 4 hours to avoid memory problems
+0 */6 * * * root /etc/init.d/puppetmaster restart > /dev/null