From aa4fe7d71bf44ece12d8a5fd718f98f628d09c25 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 14 Jun 2012 15:47:31 -0300 Subject: take hiera out of the params --- manifests/ssl.pp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'manifests') 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 } } -- cgit v1.2.3