diff options
author | mh <mh@immerda.ch> | 2008-05-29 16:15:40 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-05-29 16:15:40 +0000 |
commit | 56ec15e0d9e63749aff8f8e03614bd24e80632ad (patch) | |
tree | 159eaf5af9f1f741dbb257de2b53bb2a86d0c120 /files/cron.d | |
parent | e6c656d503d8a7272d29f6191688520c43cf8fb8 (diff) |
merged from puzzle
Diffstat (limited to 'files/cron.d')
-rw-r--r-- | files/cron.d/puppetd | 2 | ||||
-rw-r--r-- | files/cron.d/puppetd.CentOS | 1 | ||||
-rw-r--r-- | files/cron.d/puppetd.Gentoo | 1 | ||||
l--------- | files/cron.d/puppetmaster | 1 | ||||
-rw-r--r-- | files/cron.d/puppetmaster.CentOS | 2 |
5 files changed, 6 insertions, 1 deletions
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 |