summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-02-29 16:29:31 +0000
committermh <mh@immerda.ch>2008-02-29 16:29:31 +0000
commit33f0c68fe3f7a84304c368a9e7799703684b88ac (patch)
treecad1e08186fdcbcc442cf1acab1e2de7a287236d /manifests
parentc68aabbf34fe7e9bf37375dcc3792697f0174d02 (diff)
fixed some typo
Diffstat (limited to 'manifests')
-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,