summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-05 18:21:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-05 18:21:44 -0200
commitf78584ac4599e7a019e53f35ce3592006a6a612c (patch)
treead8fd01c68ef0df1ae50e2bf1dcbcb10254a5687 /manifests
parent53db8dbfe147b8fccd1907457d5668af6971a0d5 (diff)
downloadpuppet-apache-f78584ac4599e7a019e53f35ce3592006a6a612c.tar.gz
puppet-apache-f78584ac4599e7a019e53f35ce3592006a6a612c.tar.bz2
Adding https_redirect parameter
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
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",