diff options
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | manifests/init.pp | 6 |
2 files changed, 10 insertions, 6 deletions
@@ -77,18 +77,18 @@ class to have the module do some things for you: 0-default_ssl.conf virtualhosts automatically created in your node configuration. (Default: false) + * ssl: If you want to install Apache SSL support enabled, just pass this + parameter (Default: false) + For example: class { 'apache': manage_shorewall => true, manage_munin => true, - no_default_site => true + no_default_site => true, + ssl => true } -If you want to install Apache and also enable SSL support: - - include apache::ssl - You can install the ITK worker model to enforce stronger, per-user security: include apache::itk diff --git a/manifests/init.pp b/manifests/init.pp index 574c212..542e7aa 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,7 +17,8 @@ class apache( $cluster_node = '', $manage_shorewall = false, $manage_munin = false, - $no_default_site = false + $no_default_site = false, + $ssl = false ) { case $::operatingsystem { centos: { include apache::centos } @@ -32,5 +33,8 @@ class apache( if $apache::manage_shorewall { include shorewall::rules::http } + if $ssl { + include apache::ssl + } } |