diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-05-12 16:28:46 -0400 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-05-12 16:33:18 -0400 |
commit | 1e27b543c8175a501ee61222797be30b949f1ad3 (patch) | |
tree | 37e7cce8cbbfaad8ccec880f91b9e80fc95d6298 | |
parent | 80ad4d09e674b44e096f21c5713f355d31b16f1d (diff) |
depend on cron module
-rw-r--r-- | manifests/linux.pp | 3 | ||||
-rw-r--r-- | manifests/puppetmaster/checklastrun.pp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/manifests/linux.pp b/manifests/linux.pp index 4190b85..3a79e34 100644 --- a/manifests/linux.pp +++ b/manifests/linux.pp @@ -24,11 +24,12 @@ 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["crond"]; + notify => service["cron"]; } } diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp index fdcc096..0c0126d 100644 --- a/manifests/puppetmaster/checklastrun.pp +++ b/manifests/puppetmaster/checklastrun.pp @@ -8,6 +8,6 @@ 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["crond"]; + notify => service["cron"]; } } |