- Download the latest version of the salt-bootstrap script
NOTE: Run this from cron periodically
salt-cloud --update-bootstrap
- Tell Salt-Cloud to crash hard on error
salt-cloud --hard-crash
- Deploy 2 nodes from a profile in parallel
salt-cloud --parallel --profile=$PROFILE_NAME $NODE_1 $NODE_2
- Destroy a single instance
salt-cloud --destroy $NODE_NAME
- Destroy all the instances NOT defined in the map file
NOTE: BE CAREFUL!!!
salt-cloud --destroy --map=
- Gather basic information about instances
salt-cloud --query
- Gather full information about instances
salt-cloud --full-query
- Execute a selective query (once configured in query.conf)
salt-cloud --select-query
- Apply an action to an instance
NOTE: Supported actions are:
- show_instance
- stop
- start
salt-cloud -a $ACTION $NODE
