I was installing a new service that will be deployed via scap, just adding the config in Puppet hiera ( https://gerrit.wikimedia.org/r/#/c/436070/ ). At that point also after running puppet on tin, the deploy and/or the puppet runs on the target hosts was failing because unable to download the repository from tin, although the repository was already there and ready.
What was needed to fix it (thanks @thcipriani for the help!) was to run git update-server-info inside the repository on tin, and also in its git submodule, given that the repo has a git submodule.
According to @thcipriani scap should take care of this and the manual intervention should not be needed, hence opening this ticket.
This is the reported error:
17:56:58 deploy-local failed: <ErrorReturnCode_128> RAN: /usr/bin/git clone --jobs 1 http://tin.eqiad.wmnet/debmonitor/deploy/.git /srv/deployment/debmonitor/deploy-cache/cache STDOUT: STDERR: Cloning into '/srv/deployment/debmonitor/deploy-cache/cache'... fatal: repository 'http://tin.eqiad.wmnet/debmonitor/deploy/.git/' not found