aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/git-post-receive-hook
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-03-05 20:08:56 +0200
committerThomas Backlund <tmb@mageia.org>2016-03-05 20:08:56 +0200
commit52f1f951e403a86097aa5e5e2eddf4761355d60b (patch)
tree585b9d58889d16a3616bbc67bbf35187ddfe2491 /deployment/mgagit/templates/git-post-receive-hook
parent1e5fab3d935e375749e6851bdce826a4c43ad7f6 (diff)
downloadpuppet-52f1f951e403a86097aa5e5e2eddf4761355d60b.tar
puppet-52f1f951e403a86097aa5e5e2eddf4761355d60b.tar.gz
puppet-52f1f951e403a86097aa5e5e2eddf4761355d60b.tar.bz2
puppet-52f1f951e403a86097aa5e5e2eddf4761355d60b.tar.xz
puppet-52f1f951e403a86097aa5e5e2eddf4761355d60b.zip
mgagit: dont hardcode server, use vhost name
Diffstat (limited to 'deployment/mgagit/templates/git-post-receive-hook')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index e5dc5091..6d40af20 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -257,7 +257,7 @@ if __name__ == '__main__':
pass
try:
- req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname() + '.git')
+ req = urllib2.Request('http://gitweb.mageia.org:8000', repo_shortname() + '.git')
req.add_header('Content-Type', 'x-git/repo')
fp = urllib2.urlopen(req, timeout=5)
if (fp):