diff options
author | mh <mh@immerda.ch> | 2008-07-02 20:30:39 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-02 20:30:39 +0000 |
commit | e7bdfe47bd5eb8cb4c9affd5844949c88939e13d (patch) | |
tree | 5a3b17627e0bdb6285efb624f7422a705b684d73 | |
parent | 4dab9b286ae65cbd679afe9ca4e765001962eb07 (diff) |
subclassed due to overwrite restrictions
-rw-r--r-- | manifests/puppetmaster/cluster.pp | 9 |
1 files 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], + } +} |