From: mh Date: Thu, 14 Jun 2012 18:47:31 +0000 (-0300) Subject: take hiera out of the params X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=aa4fe7d71bf44ece12d8a5fd718f98f628d09c25;p=puppet-lighttpd.git take hiera out of the params --- diff --git a/manifests/ssl.pp b/manifests/ssl.pp index deb464c..f370bb9 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -1,6 +1,11 @@ -class lighttpd::ssl inherits lighttpd { +class lighttpd::ssl( + $manage_shorewall = false +) { + class{'lighttpd': + manage_shorewall => $manage_shorewall + } lighttpd::config::file{ 'ssl': } - if hiera('use_shorewall',false) { + if $manage_shorewall { include shorewall::rules::https } }