summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-04-10 22:06:24 +0000
committermh <mh@immerda.ch>2008-04-10 22:06:24 +0000
commitd8049ee0c22a7af215451a4e3c3f13bc827aaf1a (patch)
treef9519228620d162b0318e832270fcb5f70bec5fe /manifests/init.pp
parent42d5581f55c70afee8ee5b7d101b049c870084b3 (diff)
fixed inheritance
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c58adbb..7a88526 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -72,6 +72,12 @@ class puppet::openbsd {
}
class puppetmaster inherits puppet {
+ case $operatingsystem {
+ linux: { include puppetmaster::linux }
+ }
+}
+
+puppetmaster::linux inherits puppet::linux
service{'puppetmaster':
ensure => running,
require => Package[puppet],