From f78584ac4599e7a019e53f35ce3592006a6a612c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Dec 2011 18:21:44 -0200 Subject: Adding https_redirect parameter --- manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 205b11f..ee8dc3a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -91,6 +91,11 @@ class apache { require => Package["apache"], } + module { "rewrite": + ensure => present, + require => Package["apache"], + } + # apache mod_macro configuration file { "${apache2_macros}": ensure => present, @@ -147,7 +152,7 @@ class apache { $mpm = true, $mpm_user = '', $mpm_group = '', $password = '*', $comment = '', $sshkey = absent, $groups = '', $shell = '/bin/false', $manage_user = true, - $ssl = false, $listen = '*') { + $ssl = false, $listen = '*', $https_redirect = false) { $vhost = $filename ? { '' => "$title", -- cgit v1.2.3