diff options
Diffstat (limited to 'modules/apache')
-rw-r--r-- | modules/apache/manifests/init.pp | 11 | ||||
-rw-r--r-- | modules/apache/manifests/vhost/reverse_proxy.pp | 10 |
2 files changed, 10 insertions, 11 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 9318a51c..bac1858d 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -27,15 +27,4 @@ class apache { } } - define vhost_reverse_proxy($url, - $vhost = false, - $use_ssl = false) { - include apache::mod::proxy - apache::vhost::base { $name: - use_ssl => $use_ssl, - vhost => $vhost, - content => template("apache/vhost_reverse_proxy.conf") - } - } - } diff --git a/modules/apache/manifests/vhost/reverse_proxy.pp b/modules/apache/manifests/vhost/reverse_proxy.pp new file mode 100644 index 00000000..a6570c2f --- /dev/null +++ b/modules/apache/manifests/vhost/reverse_proxy.pp @@ -0,0 +1,10 @@ +define apache::vhost::reverse_proxy($url, + $vhost = false, + $use_ssl = false) { + include apache::mod::proxy + apache::vhost::base { $name: + use_ssl => $use_ssl, + vhost => $vhost, + content => template('apache/vhost_reverse_proxy.conf') + } +} |