diff options
author | varac <varacanero@zeromail.org> | 2010-01-20 14:03:46 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2010-01-20 14:03:46 +0100 |
commit | 1436c939bdb2ef131a6ff71e63d9e6909a228651 (patch) | |
tree | e08411cd05b14f2ba6a6403f53ec47cdde9381dd | |
parent | f5308a18abf6340eb125a90ac6d507a06519ef81 (diff) |
removed service definition for cron, which should be in an own cron-module
-rw-r--r-- | manifests/debian.pp | 8 | ||||
-rw-r--r-- | manifests/linux.pp | 2 | ||||
-rw-r--r-- | manifests/puppetmaster/checklastrun.pp | 2 |
3 files changed, 2 insertions, 10 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp index f078601..507ec52 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -14,12 +14,4 @@ class puppet::debian inherits puppet::linux { path => '/etc/cron.d/puppetd', } - service{'cron': - name => 'cron', - enable => true, - ensure => running, - hasstatus => true, - } - - } diff --git a/manifests/linux.pp b/manifests/linux.pp index 55fa623..09d0824 100644 --- a/manifests/linux.pp +++ b/manifests/linux.pp @@ -14,6 +14,6 @@ class puppet::linux inherits puppet::base { 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"]; + notify => service["crond"]; } } diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp index 76bfaec..7eae8a3 100644 --- a/manifests/puppetmaster/checklastrun.pp +++ b/manifests/puppetmaster/checklastrun.pp @@ -16,6 +16,6 @@ class puppet::puppetmaster::checklastrun { content => "40 10,22 * * * root $puppetlast_dest\n", require => File["$puppetlast_dest"], owner => root, group => 0, mode => 0644, - notify => service["cron"]; + notify => service["crond"]; } } |