View sssh.sh
#!/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} |