Created
June 4, 2018 02:34
-
-
Save steveno/73f8e158c950b8a417af0ec40adfaad1 to your computer and use it in GitHub Desktop.
start salt dev environment
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
if [[ $_ == $0 ]] | |
then | |
echo "Script must sourced!" | |
exit | |
fi | |
echo "Activating virtualenv" | |
source bin/activate | |
echo "Starting salt-master" | |
salt-master -c ./etc/salt -d | |
sleep 5 | |
echo "Starting salt-minion" | |
salt-minion -c ./etc/salt -d | |
salt -c ./etc/salt '*' test.ping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment