diff options
Diffstat (limited to 'modules/apache/manifests/init.pp')
-rw-r--r-- | modules/apache/manifests/init.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index b9d2c94f..03586432 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -244,9 +244,13 @@ class apache { } } - define vhost_redirect($url) { + define vhost_redirect($url, + $vhost = false, + $use_ssl = false) { include apache::base vhost_base { $name: + use_ssl => $use_ssl, + vhost => $vhost, content => template("apache/vhost_redirect.conf"), } } |