summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
2013-12-05lintingmh
2013-12-05fix source if we pass config_contentmh
2013-12-05make it possible to pass the content of the config from outsidemh
2013-12-05make it possible to consume an external databasemh
2013-08-25add cleanup jobmh
2013-08-05silence the lastrun output on only successfull runsmh
2013-05-20this should be passed as a mysql hash heremh
2013-05-20so far this is only localhostmh
2013-05-20correct namingmh
2013-05-20add a simple dashboard setupmh
2013-05-20if it runs with passenger there is no such servicemh
2013-05-20fix inheritingmh
2013-04-08puppet is in bin not sbinmh
2013-04-07also use new naming convention on linuxmh
2012-12-07improve puppet munin pluginmh
2012-12-07correct env varmh
2012-12-06use correct location to get logsmh
2012-08-26improve testing for servicemh
2012-06-18this has no paramsmh
2012-06-18cleanup param mesmh
2012-06-17pass also these paramsmh
2012-06-17correct param namingmh
2012-06-13take hiera out of the paramsmh
2012-06-10we support now also 2.7 - 0.24 should not anymore be aroundmh
2012-06-10stop the puppet service by default on cronmh
2012-06-10fix cron timemh
2012-06-10use another source for the mastermh
2012-06-10use proper variable namemh
2012-06-08new style for 2.7mh
2011-07-07linux is the kernel not the operating systemmh
2011-07-07implement setting reports cleanup dir the old waymh
2011-07-07Revert "migrate cleanup_reports to parametrized classes as this makes it ↵mh
much more configurable" This reverts commit 0f4718f062f7419092f69dcdd951339a466a79b8. Unfortuantely due to puppet bug #5517 we currently can't do it that nice so we need to hack around things https://projects.puppetlabs.com/issues/5517
2011-07-07Revert "fix variable naming"mh
This reverts commit 0fd0df89f4a0bd0700b3260a4c40041c59f65660.
2011-07-07fix variable namingmh
2011-07-07migrate cleanup_reports to parametrized classes as this makes it much more ↵mh
configurable
2011-07-07also don't do anything on undef - maybe once puppet will return undef on ↵mh
undefined variables
2011-05-07Fix probable typos.intrigeri
2011-05-07Install puppetmaster-common package.intrigeri
This should fix the remaining issues from https://labs.riseup.net/code/issues/2928
2011-05-07Inherit from the right base class.intrigeri
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-22fix syntax error from previous commitMicah Anderson
2011-03-22add debian-specific puppetmaster require parameter package overrideMicah Anderson
2011-03-22minor formatting fix for standardizationMicah Anderson
2011-03-15instead of using $RANDOM, which isn't POSIX, we get even more esoteric by ↵Micah Anderson
pulling 2 bytes from /dev/urandom, giving them to od which turns them into unsigned decimals, and then we bitshift the output, either by 5 or 6 depending on if we are replacing $RANDOM/1000*60 (right sift by 5 is the same as dividing by 2^N, or /32) or $RANDOM/2000*60 (range of [0,983]) Thanks to dkg for working through this with me, not only did he come up with it faster than a human brain should be able to function, he had the patience to explain all the individual pieces that I did not understand to me.
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.
2011-03-01the debian-specific case doesn't work for squeeze, so re-factor the way it isMicah Anderson
done to set a flag so that squeeze has the service stopped, but lenny does not
2011-02-28debian's puppet depends on puppet-common, but if you were to setMicah Anderson
$puppet_ensure_version to a backported version and your pinning was setup so that you dont pull any packages unless explicit (I believe this is the default), then you will end up seeing things like this: The following packages have unmet dependencies: puppet: Depends: puppet-common (= 2.6.2-4~bpo50+1) but 2.6.2-1~bpo50+1 is to be installed E: Broken packages at /etc/puppet/modules/puppet/manifests/linux.pp:6 this commit adds the $puppet_ensure_version test in debian.pp to make sure that the puppet-common package is also following this request