From d8049ee0c22a7af215451a4e3c3f13bc827aaf1a Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 10 Apr 2008 22:06:24 +0000 Subject: fixed inheritance --- manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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], -- cgit v1.2.3