summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/debian.pp8
-rw-r--r--manifests/linux.pp2
-rw-r--r--manifests/puppetmaster/checklastrun.pp2
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"];
}
}