aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-04-06 19:28:40 +0000
committerColin Guthrie <colin@mageia.org>2014-04-06 19:28:40 +0000
commitf23000615ecc91b0d0ce6f901725ff21f0a328b5 (patch)
treeda15889625b3c78c8cbc526f26e56bfa1bc81866 /deployment/websites
parente1038ed7293dad23bb2ee254fcf35cb7095d3c32 (diff)
downloadpuppet-f23000615ecc91b0d0ce6f901725ff21f0a328b5.tar
puppet-f23000615ecc91b0d0ce6f901725ff21f0a328b5.tar.gz
puppet-f23000615ecc91b0d0ce6f901725ff21f0a328b5.tar.bz2
puppet-f23000615ecc91b0d0ce6f901725ff21f0a328b5.tar.xz
puppet-f23000615ecc91b0d0ce6f901725ff21f0a328b5.zip
Redirect http://git.mageia.org/ to http://gitweb.mageia.org/
Diffstat (limited to 'deployment/websites')
-rw-r--r--deployment/websites/manifests/git.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/deployment/websites/manifests/git.pp b/deployment/websites/manifests/git.pp
new file mode 100644
index 00000000..070c13a5
--- /dev/null
+++ b/deployment/websites/manifests/git.pp
@@ -0,0 +1,5 @@
+class websites::git {
+ apache::vhost_redirect { "git.$::domain":
+ url => "http://gitweb.$::domain/",
+ }
+}