summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-14 15:47:31 -0300
committermh <mh@immerda.ch>2012-06-14 15:47:31 -0300
commitaa4fe7d71bf44ece12d8a5fd718f98f628d09c25 (patch)
tree9d80e706404e57b1b9ca34d58fce15db5d8fb7b1
parent490ee1583790a963a963289303e7a766ebe8d9de (diff)
downloadpuppet-lighttpd-aa4fe7d71bf44ece12d8a5fd718f98f628d09c25.tar.gz
puppet-lighttpd-aa4fe7d71bf44ece12d8a5fd718f98f628d09c25.tar.bz2
take hiera out of the params
-rw-r--r--manifests/ssl.pp9
1 files changed, 7 insertions, 2 deletions
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
}
}