Created
April 21, 2016 15:57
-
-
Save anlutro/cc52002cb172c5f30a59dbc7ae8b68c4 to your computer and use it in GitHub Desktop.
Installing Salt from source in a virtualenv
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/sh | |
git clone https://github.com/saltstack/salt | |
cd salt | |
git checkout 2015.8 | |
virtualenv -p python2 . | |
. ./bin/activate | |
pip install -e . | |
# if $HOME/bin is in your $PATH | |
ln -sf $(readlink -f bin/salt-ssh) $HOME/bin/salt-ssh | |
# if not... | |
sudo ln -sf $(readlink -f bin/salt-ssh) /usr/local/bin/salt-ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment