diff options
-rw-r--r-- | manifests/ssl.pp | 9 |
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 } } |