From dcdf341af2b32969c47bef5939e34952a6fc7642 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 6 Aug 2010 19:45:32 +0200 Subject: remove unnecessary service (cron) notification 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. --- manifests/puppetmaster/checklastrun.pp | 1 - 1 file changed, 1 deletion(-) (limited to 'manifests/puppetmaster/checklastrun.pp') diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp index 0c3af5f..96d59d5 100644 --- a/manifests/puppetmaster/checklastrun.pp +++ b/manifests/puppetmaster/checklastrun.pp @@ -8,6 +8,5 @@ class puppet::puppetmaster::checklastrun { content => "40 10,22 * * * root /usr/local/bin/puppetlast\n", require => File["/usr/local/bin/puppetlast"], owner => root, group => 0, mode => 0644, - notify => service["cron"]; } } -- cgit v1.2.3