diff options
| author | mh <mh@immerda.ch> | 2012-06-14 15:47:31 -0300 | 
|---|---|---|
| committer | mh <mh@immerda.ch> | 2012-06-14 15:47:31 -0300 | 
| commit | aa4fe7d71bf44ece12d8a5fd718f98f628d09c25 (patch) | |
| tree | 9d80e706404e57b1b9ca34d58fce15db5d8fb7b1 /manifests | |
| parent | 490ee1583790a963a963289303e7a766ebe8d9de (diff) | |
| download | puppet-lighttpd-aa4fe7d71bf44ece12d8a5fd718f98f628d09c25.tar.gz puppet-lighttpd-aa4fe7d71bf44ece12d8a5fd718f98f628d09c25.tar.bz2 | |
take hiera out of the params
Diffstat (limited to 'manifests')
| -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    }  } | 
