aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/svn.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/manifests/svn.pp')
-rw-r--r--deployment/websites/manifests/svn.pp13
1 files changed, 8 insertions, 5 deletions
diff --git a/deployment/websites/manifests/svn.pp b/deployment/websites/manifests/svn.pp
index 55137872..973c012d 100644
--- a/deployment/websites/manifests/svn.pp
+++ b/deployment/websites/manifests/svn.pp
@@ -1,7 +1,10 @@
-class websites {
- class svn {
- apache::vhost_redirect { "svn.$domain":
- url => "http://svnweb.$domain/",
- }
+class websites::svn {
+ apache::vhost_redirect { "svn.${::domain}":
+ url => "https://svnweb.${::domain}/",
+ }
+ apache::vhost_redirect { "ssl_svn.${::domain}":
+ use_ssl => true,
+ vhost => "svn.${::domain}",
+ url => "https://svnweb.${::domain}/",
}
}