diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-07 09:50:02 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-07 09:50:02 +0000 |
commit | a507009ab480c286c6e1bed0424da24ed53712c7 (patch) | |
tree | aaeb0b31b1e927a3459fbfe4d83427c3f60a2617 /deployment/websites | |
parent | e3fee54200ef98cbbe138f19e9d71a586d2a6c16 (diff) | |
download | puppet-a507009ab480c286c6e1bed0424da24ed53712c7.tar puppet-a507009ab480c286c6e1bed0424da24ed53712c7.tar.gz puppet-a507009ab480c286c6e1bed0424da24ed53712c7.tar.bz2 puppet-a507009ab480c286c6e1bed0424da24ed53712c7.tar.xz puppet-a507009ab480c286c6e1bed0424da24ed53712c7.zip |
- add a redirect for svn url to svnweb ( since people may try to see viewvc
on http://svn.$domain/, as asked by some people )
Diffstat (limited to 'deployment/websites')
-rw-r--r-- | deployment/websites/manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
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/", + } + } } |