summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoro <o@immerda.ch>2012-06-13 21:29:25 -0300
committero <o@immerda.ch>2012-06-13 21:29:25 -0300
commit490ee1583790a963a963289303e7a766ebe8d9de (patch)
tree118662efa8fc21d2b72512938a48657066b9380f
parent09b77138a3cf505e82f1d5a8d20f794fe1db8434 (diff)
downloadpuppet-lighttpd-490ee1583790a963a963289303e7a766ebe8d9de.tar.gz
puppet-lighttpd-490ee1583790a963a963289303e7a766ebe8d9de.tar.bz2
remove hiera
-rw-r--r--manifests/init.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d8fd745..172849c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -3,7 +3,9 @@
# GPLv3
class lighttpd(
- $cluster_node = hiera('lighttpd_cluster_node','some_cluster_node')
+ $cluster_node,
+ $manage_munin = false,
+ $manage_shorewall = false
) {
case $::operatingsystem {
debian,ubuntu: { include lighttpd::debian }
@@ -11,10 +13,10 @@ class lighttpd(
default: { include lighttpd::base }
}
- if hiera('use_shorewall',false) {
+ if $lighthttpd::manage_shorewall {
include shorewall::rules::http
}
- if hiera('use_munin',false) {
+ if $lighthttpd::manage_munin {
include lighttpd::munin
}
}