Currently scap's deploy-local command uses the following syntax:
scap deploy-local --repo [repo-name]
This means that scap relies on /etc/scap.cfg for the following information:
- git_deploy_dir - This is currently /srv/deployment for all repos and is unlikely to change, but would be nice not to hard-code
- git_server - This is a value that is filled in by puppet, currently deployment.eqiad.wmnet. Again, this is unlikely to change, but it would be nice not to rely on /etc/scap.cfg for these values.
This syntax comes from trebuchet's. Since the git_deploy_dir and the git_server can be set per-repo, we should change the deploy-local invocation syntax before it surprises anyone.