Giuseppe Lavagetto has uploaded a new change for review.
https://gerrit.wikimedia.org/r/266246
Change subject: git-deploy: fixup for Ied4bcde607
......................................................................
git-deploy: fixup for Ied4bcde607
Change-Id: Iea98123236a91709f074327faa162e99bb4976ce
---
M modules/deployment/files/modules/deploy.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/46/266246/1
diff --git a/modules/deployment/files/modules/deploy.py
b/modules/deployment/files/modules/deploy.py
index d3c78c3..8aba363 100644
--- a/modules/deployment/files/modules/deploy.py
+++ b/modules/deployment/files/modules/deploy.py
@@ -772,7 +772,7 @@
return {}
-def fixurl(git_server):
+def fixurl():
"""
Allows to recursively fix all the remotes in git repositories on a target.
"""
@@ -788,7 +788,7 @@
cmd = '/usr/bin/git remote set-url origin {0}/.git'.format(
conf['url'])
- retval = __salt__['cmd.retcode'](cmd, cwd=repo_config['location'])
+ retval = __salt__['cmd.retcode'](cmd, cwd=conf['location'])
if retval != 0:
return retval
return 0
--
To view, visit https://gerrit.wikimedia.org/r/266246
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iea98123236a91709f074327faa162e99bb4976ce
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits