diff options
author | Thomas Backlund <tmb@mageia.org> | 2016-03-05 20:08:56 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2016-03-05 20:08:56 +0200 |
commit | 52f1f951e403a86097aa5e5e2eddf4761355d60b (patch) | |
tree | 585b9d58889d16a3616bbc67bbf35187ddfe2491 /deployment/mgagit/templates/git-post-receive-hook | |
parent | 1e5fab3d935e375749e6851bdce826a4c43ad7f6 (diff) | |
download | puppet-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-x | deployment/mgagit/templates/git-post-receive-hook | 2 |
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): |