summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 4 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5d19971..d16337d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -51,18 +51,13 @@ class puppet::linux {
service{'puppet':
ensure => running,
require => Package[puppet],
- hasstatus => true,
+ hasstatus => $operatingsystem {
+ gentoo => false,
+ default => true,
+ },
hasrestart => true,
}
- case $operatingsystem {
- gentoo: {
- Service[puppet]{
- hasstatus => false
- }
- }
- }
-
file{'/etc/cron.d/puppetd':
owner => root,
group => 0,