]> gitweb.fluxo.info Git - puppet-lighttpd.git/commitdiff
take hiera out of the params
authormh <mh@immerda.ch>
Thu, 14 Jun 2012 18:47:31 +0000 (15:47 -0300)
committermh <mh@immerda.ch>
Thu, 14 Jun 2012 18:47:31 +0000 (15:47 -0300)
manifests/ssl.pp

index deb464cdb573d5ec52a4e9f65e1224f32bd99924..f370bb90260ae36fe72ce131fd178620eac01bbd 100644 (file)
@@ -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
   }
 }