]> gitweb.fluxo.info Git - puppet-lighttpd.git/commitdiff
remove hiera
authoro <o@immerda.ch>
Thu, 14 Jun 2012 00:29:25 +0000 (21:29 -0300)
committero <o@immerda.ch>
Thu, 14 Jun 2012 00:29:25 +0000 (21:29 -0300)
manifests/init.pp

index d8fd745fab0b9cdcafeef4e79aa8759bcc387342..172849cdc1263dc5bd0345f9c846340eb7252c54 100644 (file)
@@ -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
   }
 }