From e7bdfe47bd5eb8cb4c9affd5844949c88939e13d Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 2 Jul 2008 20:30:39 +0000 Subject: subclassed due to overwrite restrictions --- manifests/puppetmaster/cluster.pp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/manifests/puppetmaster/cluster.pp b/manifests/puppetmaster/cluster.pp index 915c8a4..af32637 100644 --- a/manifests/puppetmaster/cluster.pp +++ b/manifests/puppetmaster/cluster.pp @@ -3,8 +3,8 @@ class puppet::puppetmaster::cluster inherits puppet::puppetmaster { include mongrel, nginx - Service[puppetmaster]{ - require +> Service[ngnix], + case $kernel { + linux: { include puppet::puppetmaster::linux::cluster } } File[puppet_config] { @@ -21,3 +21,8 @@ class puppet::puppetmaster::cluster inherits puppet::puppetmaster { } } +class puppet::puppetmaster::linux::cluster inherits puppet::puppetmaster::linux { + Service[puppetmaster]{ + require +> Service[ngnix], + } +} -- cgit v1.2.3