summaryrefslogtreecommitdiff
path: root/manifests/linux.pp
AgeCommit message (Collapse)Author
2013-01-02Make all linux distributions use the same path for the cron fileGabriel Filion
This simplifies the hierarchy and fixes the problem that going from puppet::cron to puppet under debian doesn't remove the cron file. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2013-01-02removed unnesseccary stuff for absent puppetd.cronvarac
2013-01-02linted linux.ppvarac
2012-04-12implement fix for cron file being put in place even when you do not include ↵Micah Anderson
puppet::cron. The module should make sure that the cron file is not there if you aren't using the cron method, otherwise the daemon and the cronjob could both run. Used suggested change from jcharaoui in #3513
2011-03-22minor formatting fix for standardizationMicah Anderson
2011-02-11fix name of cronjob for generic linuxMicah Anderson
2011-02-11this cleanup isn't a good idea for the other linux people who are actually ↵Micah Anderson
using the filename puppetd.cron
2011-02-11make a puppet::cron::debian class that includes the override of the ↵Micah Anderson
/etc/cron.d/puppetd.cron file resource and move the override from manifests/debian.pp. /etc/cron.d/puppetd.cron is not a valid cronjob according to the run-parts system that Debian uses to decide what is valid, as a result if you were to 'include puppet::cron' in your manifests on a debian/debian-derived system, then a cronjob would be created that would never be executed.
2011-01-10fix the bc dependency (closes: #2690)Micah Anderson
this is done by removing the hacky `if !defined` on the bc package by removing the package dependency altogether and replacing the places where it is used by shell built-in math functions. this is a follow-up commit to 1455b1f9a55cdffc582fd93fa0bc5c016585760c
2010-11-28add site-puppet cron.d/puppet sourceMicah Anderson
2010-11-28I've removed the pre-requirement that you need to have the 'bc' moduleMicah Anderson
installed. It seems a little silly to have a hard-coded dependency on a module that simply installs one package. I replaced it with a test to see if the package has been defined elsewhere, and if not then it installs it, allowing those who wish to continue to do this to have no change. I also provide a mechanism to specify the version, if desired. Conflicts: manifests/linux.pp
2010-11-28Fix whitespace and coding standards to use standard formatting styles (I ↵Micah Anderson
believe that this Closes #2353)
2010-08-07remove unnecessary fileserver variable (#2460)mh
2010-08-06remove unnecessary service (cron) notificationmh
There is no need to notify the cron service after placing something in /etc/cron.d. This means that we can also remove the dependency to cron, as we don't refer to any managed resource of the cron module anymore.
2010-08-06codestyle - whitespacemh
Only code style and whitespace formatting issues. Everything should no be in ligne.
2010-05-13fix include namespacesJerome Charaoui
2010-05-12correct typo (do we really need to notify cron?)Jerome Charaoui
2010-05-12rename $puppet_version and $facter_version and default to installed instead ↵Jerome Charaoui
of present
2010-05-12depend on cron moduleJerome Charaoui
2010-05-11Merge commit 'nadir/master'Jerome Charaoui
2010-03-31Add optional $puppet_version and $facter_version variables, defaults to ↵Jerome Charaoui
'present'
2010-01-20removed service definition for cron, which should be in an own cron-modulevarac
2010-01-20cron reload for /etc/cron.d/puppet*, debian/ubuntu shellscripts under ↵varac
/usr/local/bin rather than /opt/bin
2009-11-02recursivly updating file path to new 0.25 stylemh
2008-12-27factored classes out in their own filesmh