Created
September 13, 2013 07:00
-
-
Save valentinbud/6547490 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This hook updates the local pillar data. | |
# It basically runs `git pull` in salt master's | |
# pillar_roots directory. | |
# | |
# Only suports one environment - base. The branch is master | |
# and the environment production. | |
# | |
echo "UPDATING LOCAL PILLAR" | |
cd /srv/salt/salt-pillar | |
pwd | |
git pull |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment