From 56ec15e0d9e63749aff8f8e03614bd24e80632ad Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 29 May 2008 16:15:40 +0000 Subject: merged from puzzle --- files/cron.d/puppetd | 2 +- files/cron.d/puppetd.CentOS | 1 + files/cron.d/puppetd.Gentoo | 1 + files/cron.d/puppetmaster | 1 + files/cron.d/puppetmaster.CentOS | 2 ++ 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 files/cron.d/puppetd.CentOS create mode 100644 files/cron.d/puppetd.Gentoo create mode 120000 files/cron.d/puppetmaster create mode 100644 files/cron.d/puppetmaster.CentOS (limited to 'files/cron.d') diff --git a/files/cron.d/puppetd b/files/cron.d/puppetd index 9f9e36d..bf19ea7 100644 --- a/files/cron.d/puppetd +++ b/files/cron.d/puppetd @@ -1 +1 @@ -#0 * * * * root /bin/ps ax | /bin/grep -v grep | /bin/grep puppetd > /dev/null || /etc/init.d/puppet restart +0 * * * * root /bin/ps ax | /bin/grep -v grep | /bin/grep puppetd > /dev/null || /etc/init.d/puppet restart diff --git a/files/cron.d/puppetd.CentOS b/files/cron.d/puppetd.CentOS new file mode 100644 index 0000000..bf19ea7 --- /dev/null +++ b/files/cron.d/puppetd.CentOS @@ -0,0 +1 @@ +0 * * * * root /bin/ps ax | /bin/grep -v grep | /bin/grep puppetd > /dev/null || /etc/init.d/puppet restart diff --git a/files/cron.d/puppetd.Gentoo b/files/cron.d/puppetd.Gentoo new file mode 100644 index 0000000..9f9e36d --- /dev/null +++ b/files/cron.d/puppetd.Gentoo @@ -0,0 +1 @@ +#0 * * * * root /bin/ps ax | /bin/grep -v grep | /bin/grep puppetd > /dev/null || /etc/init.d/puppet restart diff --git a/files/cron.d/puppetmaster b/files/cron.d/puppetmaster new file mode 120000 index 0000000..7e5177a --- /dev/null +++ b/files/cron.d/puppetmaster @@ -0,0 +1 @@ +puppetmaster.CentOS \ No newline at end of file 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 -- cgit v1.2.3