/[adm]/puppet/deployment/mgagit/templates/git-post-update-hook
ViewVC logotype

Contents of /puppet/deployment/mgagit/templates/git-post-update-hook

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3357 - (show annotations) (download)
Mon Oct 7 09:33:07 2013 UTC (10 years, 4 months ago) by colin
File size: 315 byte(s)
mgagit: Import a manually added script on the server side to puppet
1 #!/bin/bash
2
3 if [ "$GL_REPO" == "infrastructure/repositories/software" -o "$GL_REPO" == "infrastructure/repositories/web" ]; then
4 OK=no
5 (unset GIT_DIR && mgagit glconf && mgagit glrun) >/dev/null 2>&1 && OK=yes
6 if [ "$OK" == "yes" ]; then
7 echo
8 echo " *** Repository definitions updated"
9 echo
10 fi
11 fi
12 exit 0

  ViewVC Help
Powered by ViewVC 1.1.30