summaryrefslogtreecommitdiff
path: root/manifests/cron.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-02-11 00:29:11 -0500
committerMicah Anderson <micah@riseup.net>2011-02-11 00:29:11 -0500
commitfe73cf4fa70a93cf8ab1ad375c9e9e77a72e20a1 (patch)
tree794b6231d340e78fd4e674f32f0d6989ce4e5441 /manifests/cron.pp
parent4835560269a3485603aaf70b0e35eba28b4f3571 (diff)
make a puppet::cron::debian class that includes the override of the /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.
Diffstat (limited to 'manifests/cron.pp')
-rw-r--r--manifests/cron.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/cron.pp b/manifests/cron.pp
index 8d41174..5f46f67 100644
--- a/manifests/cron.pp
+++ b/manifests/cron.pp
@@ -3,6 +3,7 @@
class puppet::cron inherits puppet {
case $kernel {
linux: { include puppet::cron::linux }
+ debian: { include puppet::cron::debian }
openbsd: { include puppet::cron::openbsd }
default: { include puppet::cron::base }
}