Last active
July 18, 2017 08:34
-
-
Save dreampuf/a07fd546857f8444b90d to your computer and use it in GitHub Desktop.
Salt-master/Python2.6 execute salt-ssh/Python2.7
This file contains hidden or 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
# Replace the HAS_XML assign in thin.py | |
$ sed -i 's#HAS_XML = True#HAS_XML = False#' $(python2.6 -c "import salt; print salt.__path__[0];")/utils/thin.py | |
# clean up the local thin package cache | |
rm /var/cache/salt/master/thin/thin.tgz | |
# addition `-w` and `-W` options in your command | |
salt-ssh -w -W -i --roster-file ROSTER_FILE 'HOSTNAME' state.sls minion-setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment