diff options
author | mh <mh@immerda.ch> | 2008-07-02 20:46:25 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-02 20:46:25 +0000 |
commit | cdcfeaee092c92962116586d19762ee0438b7770 (patch) | |
tree | 3c3dbd5fc2c0da9b874f0679875191b474df9583 /manifests | |
parent | 7e6a85d802f10a98502063beb74bba9636408a25 (diff) |
useless requires
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetmaster/cluster.pp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/manifests/puppetmaster/cluster.pp b/manifests/puppetmaster/cluster.pp index d52f4b0..72d4f03 100644 --- a/manifests/puppetmaster/cluster.pp +++ b/manifests/puppetmaster/cluster.pp @@ -3,16 +3,6 @@ class puppet::puppetmaster::cluster inherits puppet::puppetmaster { include mongrel, nginx - case $operatingsystem { - centos,debian, redhat: { include puppet::puppetmaster::package::cluster } - default: { - case $kernel { - linux: { include puppet::puppetmaster::linux::cluster } - } - } - } - - File[puppet_config] { require +> [ Package[mongrel], Package[nginx], File[nginx_config] ], } @@ -26,14 +16,3 @@ class puppet::puppetmaster::cluster inherits puppet::puppetmaster { } } } - -class puppet::puppetmaster::linux::cluster inherits puppet::puppetmaster::linux { - Service[puppetmaster]{ - require +> Class[nginx], - } -} -class puppet::puppetmaster::package::cluster inherits puppet::puppetmaster::package { - Service[puppetmaster]{ - require +> Class[ngnix], - } -} |