summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/cron.d/puppetmaster4
-rw-r--r--files/cron.d/puppetmaster.CentOS3
2 files changed, 2 insertions, 5 deletions
diff --git a/files/cron.d/puppetmaster b/files/cron.d/puppetmaster
index 676f6df..e56aa35 100644
--- a/files/cron.d/puppetmaster
+++ b/files/cron.d/puppetmaster
@@ -1,3 +1,3 @@
-# we restart puppetmaster every 4 hours to avoid memory problems
-0 */6 * * * root /etc/init.d/puppetmaster restart > /dev/null
+# we restart puppetmaster twice a day to avoid memory problems
+59 11,23 * * * root /etc/init.d/puppetmaster restart > /dev/null
diff --git a/files/cron.d/puppetmaster.CentOS b/files/cron.d/puppetmaster.CentOS
deleted file mode 100644
index f5078f4..0000000
--- a/files/cron.d/puppetmaster.CentOS
+++ /dev/null
@@ -1,3 +0,0 @@
-# we restart puppetmaster every 4 hours to avoid memory problems
-0 */4 * * * root /etc/init.d/puppetmaster restart > /dev/null
-