diff options
author | mh <mh@immerda.ch> | 2012-06-05 20:07:08 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-05 20:07:08 -0300 |
commit | 09b77138a3cf505e82f1d5a8d20f794fe1db8434 (patch) | |
tree | 4be47d1fd07bc56b412c5ace110d5bd080375757 /manifests/init.pp | |
parent | dbf5334ff24a3b94d52520a86c365c0227863a56 (diff) | |
download | puppet-lighttpd-09b77138a3cf505e82f1d5a8d20f794fe1db8434.tar.gz puppet-lighttpd-09b77138a3cf505e82f1d5a8d20f794fe1db8434.tar.bz2 |
new style for 2.7
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 9ec22fb..d8fd745 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,17 +2,19 @@ # Copyright (C) 2007 admin@immerda.ch # GPLv3 -class lighttpd { - case $operatingsystem { +class lighttpd( + $cluster_node = hiera('lighttpd_cluster_node','some_cluster_node') +) { + case $::operatingsystem { debian,ubuntu: { include lighttpd::debian } centos,redhat,fedora: { include lighttpd::centos } default: { include lighttpd::base } } - if $use_shorewall { + if hiera('use_shorewall',false) { include shorewall::rules::http } - if $use_munin { + if hiera('use_munin',false) { include lighttpd::munin } } |