From a507009ab480c286c6e1bed0424da24ed53712c7 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 7 Feb 2011 09:50:02 +0000 Subject: - add a redirect for svn url to svnweb ( since people may try to see viewvc on http://svn.$domain/, as asked by some people ) --- deployment/websites/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'deployment/websites/manifests') diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp index 96ae58d9..975a32e1 100644 --- a/deployment/websites/manifests/init.pp +++ b/deployment/websites/manifests/init.pp @@ -5,4 +5,10 @@ class websites { vhost_file => "websites/vhost_donate.conf", } } + + class svn { + apache::vhost_redirect { "svn.$domain": + url => "http://svnweb.$domain/", + } + } } -- cgit v1.2.1