summaryrefslogtreecommitdiff
path: root/manifests/cron/linux.pp
AgeCommit message (Collapse)Author
2014-08-30fix cron name globally + lintingmh
2013-04-08puppet is in bin not sbinmh
2013-04-07also use new naming convention on linuxmh
2012-06-08new style for 2.7mh
2011-03-29the % needs to be double-escaped so puppet doesn't complain like this:Micah Anderson
Mar 29 14:08:23 puppetmaster puppet-master[26637]: Unrecognised escape sequence '\%' in file /etc/puppet/modules/puppet/manifests/cron/linux.pp at line 17
2011-03-28percent is magic in crontabs and needs to be escapedMatt Taggart
2011-03-28need to escape the $ in the variablesMicah Anderson
2011-03-28update cronjob to capture the return code output as suggested by LeLutin in ↵Micah Anderson
https://labs.riseup.net/code/issues/2819
2011-03-15change the cronjob so that the failure to find any ↵Micah Anderson
(^err:|^alert:|^emerg:|^crit:) in the output from the puppet run doesn't leave us with a '1' return code from grep. On Debian Squeeze systems, this problem would result in cron reporting that the cron command failed with an exit status 1: /USR/SBIN/CRON[24107]: (CRON) error (grandchild #24108 failed with exit status 1) This was because grep returns a '1' if it fails to find a match. We don't want the failure to find failure messages to produce a failure, so this checks the return code of the grep and fixes it to be '0' if there were no such failure log messages. This is a bit ugly, if you ask me. We are already, unfortunately, swallowing the puppetd return code with the grep. It seems like these sorts of log messages should be retrieved via reports, logcheck, or something other than this grep of the output of the cronjob.
2010-11-28Fix whitespace and coding standards to use standard formatting styles (I ↵Micah Anderson
believe that this Closes #2353)
2010-09-15fix some issues with cron enabling/service disablingmh
2010-08-17enable possibility to enforce puppet http_compressionmh
2010-08-08correctly quote new cron timemh
2010-08-07improve puppet_cronmh
* don't use builtin splay, splay runs depending on the fqdn of a host -> puppet isn't running until it really should * fix various things for cron on openbsd
2010-08-06codestyle - whitespacemh
Only code style and whitespace formatting issues. Everything should no be in ligne.
2010-03-07README, added $puppet_crontime to tune how often a client gets updatesnadir
2009-01-06merged with puzzlemh
2008-12-27complete pathmh
2008-12-27cron should have a new line at the endmh
2008-12-27added a first version to run the client from cronmh