diff options
author | Michael Scherer <misc@mageia.org> | 2012-02-10 14:20:10 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-02-10 14:20:10 +0000 |
commit | 69d17cdcd1c94e4f1296e302e86d647ee9079bf4 (patch) | |
tree | 06f5d5ae5c6bd225c067a3b22a6431fad2f4999e /deployment/websites/manifests/forum_proxy.pp | |
parent | 9c6ca550685d13f4cde9b596c4748a0ef58ed426 (diff) | |
download | puppet-69d17cdcd1c94e4f1296e302e86d647ee9079bf4.tar puppet-69d17cdcd1c94e4f1296e302e86d647ee9079bf4.tar.gz puppet-69d17cdcd1c94e4f1296e302e86d647ee9079bf4.tar.bz2 puppet-69d17cdcd1c94e4f1296e302e86d647ee9079bf4.tar.xz puppet-69d17cdcd1c94e4f1296e302e86d647ee9079bf4.zip |
fix module name, and make puppet-lint happy
Diffstat (limited to 'deployment/websites/manifests/forum_proxy.pp')
-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/", } } |