From fe73cf4fa70a93cf8ab1ad375c9e9e77a72e20a1 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Fri, 11 Feb 2011 00:29:11 -0500 Subject: 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. --- manifests/debian.pp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'manifests/debian.pp') diff --git a/manifests/debian.pp b/manifests/debian.pp index de5be53..9653e76 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -21,10 +21,6 @@ class puppet::debian inherits puppet::linux { Service[puppet]{ hasstatus => $real_puppet_hasstatus, } - - File['/etc/cron.d/puppetd.cron']{ - path => '/etc/cron.d/puppetd', - } } -- cgit v1.2.3