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/linux.pp | 3 --- 1 file changed, 3 deletions(-) (limited to 'manifests/linux.pp') diff --git a/manifests/linux.pp b/manifests/linux.pp index cfdac71..d8095f8 100644 --- a/manifests/linux.pp +++ b/manifests/linux.pp @@ -16,12 +16,9 @@ class puppet::linux inherits puppet::base { require => Package[puppet], } - include ::cron - file{'/etc/cron.d/puppetd.cron': source => [ "puppet://$server/modules/puppet/cron.d/puppetd.${operatingsystem}", "puppet://$server/modules/puppet/cron.d/puppetd" ], owner => root, group => 0, mode => 0644, - notify => Service['cron']; } } -- cgit v1.2.3