From 490ee1583790a963a963289303e7a766ebe8d9de Mon Sep 17 00:00:00 2001 From: o Date: Wed, 13 Jun 2012 21:29:25 -0300 Subject: remove hiera --- manifests/init.pp | 8 +++++--- 1 file 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 } } -- cgit v1.2.3