diff options
Diffstat (limited to 'manifests')
-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], + } +} |