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
#!/bin/bash | |
# * Set up a temp directory with some stuff in it | |
# * Preconfigure Salt SSH to run standalone from that temp space | |
# * Create a roster with minion_ids ($1) and IP's ($2) | |
# * Run Salt-SSH to Highstate (or $@) the roster | |
set -x | |
cd $(dirname $0) | |
SALT_DIR=${SALT_DIR:-/srv/salt} |