diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-16 17:28:47 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-16 17:28:47 +0000 |
commit | 89d9dc25e57849ad7d0b9be7d17c0e45b2edf00b (patch) | |
tree | db55189849cd1426a37553c62925fdb1c6f779c6 /modules/apache | |
parent | f95696edcf086925c30baa2c666fd92600dba368 (diff) | |
download | puppet-89d9dc25e57849ad7d0b9be7d17c0e45b2edf00b.tar puppet-89d9dc25e57849ad7d0b9be7d17c0e45b2edf00b.tar.gz puppet-89d9dc25e57849ad7d0b9be7d17c0e45b2edf00b.tar.bz2 puppet-89d9dc25e57849ad7d0b9be7d17c0e45b2edf00b.tar.xz puppet-89d9dc25e57849ad7d0b9be7d17c0e45b2edf00b.zip |
- add support for having a different vhost ( not pretty, but I didn't found other way )
Diffstat (limited to 'modules/apache')
-rw-r--r-- | modules/apache/manifests/init.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 98f8f16c..f0860735 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -225,10 +225,13 @@ class apache { } } - define vhost_reverse_proxy($url, $use_ssl = false) { + define vhost_reverse_proxy($url, + $vhost = false, + $use_ssl = false) { include apache::mod_proxy vhost_base { $name: use_ssl => $use_ssl, + vhost => $vhost, content => template("apache/vhost_reverse_proxy.conf") } } |