aboutsummaryrefslogtreecommitdiffstats
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
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/
-rw-r--r--deployment/websites/manifests/git.pp5
-rw-r--r--manifests/nodes/valstar.pp1
2 files changed, 6 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/",
+ }
+}
diff --git a/manifests/nodes/valstar.pp b/manifests/nodes/valstar.pp
index 81b7ad1d..97db34e2 100644
--- a/manifests/nodes/valstar.pp
+++ b/manifests/nodes/valstar.pp
@@ -34,6 +34,7 @@ node valstar {
include irkerd
include websites::svn
+ include websites::git
class { 'mga-advisories':
vhost => 'advisories.mageia.org',