From: o Date: Thu, 14 Jun 2012 00:29:25 +0000 (-0300) Subject: remove hiera X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=490ee1583790a963a963289303e7a766ebe8d9de;p=puppet-lighttpd.git remove hiera --- 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 } }