diff options
Diffstat (limited to 'deployment/websites')
-rw-r--r-- | deployment/websites/manifests/forum_proxy.pp | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/deployment/websites/manifests/forum_proxy.pp b/deployment/websites/manifests/forum_proxy.pp index 04d41692..5048b219 100644 --- a/deployment/websites/manifests/forum_proxy.pp +++ b/deployment/websites/manifests/forum_proxy.pp @@ -1,15 +1,13 @@ -class buildsystem { - class forum_proxy { - $web_domain = "forums.$domain" - - apache::vhost_reverse_proxy { "$web_domain": - url => "http://$web_domain/", - } +class websites::forum_proxy { + $web_domain = "forums.$::domain" - apache::vhost_reverse_proxy { "ssl_$web_domain": - vhost => $web_domain, - use_ssl => true, - url => "http://$web_domain/", - } + apache::vhost_reverse_proxy { $web_domain: + url => "http://$web_domain/", + } + + apache::vhost_reverse_proxy { "ssl_$web_domain": + vhost => $web_domain, + use_ssl => true, + url => "http://$web_domain/", } } |