summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/cluster.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-07-02 20:30:39 +0000
committermh <mh@immerda.ch>2008-07-02 20:30:39 +0000
commite7bdfe47bd5eb8cb4c9affd5844949c88939e13d (patch)
tree5a3b17627e0bdb6285efb624f7422a705b684d73 /manifests/puppetmaster/cluster.pp
parent4dab9b286ae65cbd679afe9ca4e765001962eb07 (diff)
subclassed due to overwrite restrictions
Diffstat (limited to 'manifests/puppetmaster/cluster.pp')
-rw-r--r--manifests/puppetmaster/cluster.pp9
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],
+ }
+}