Skip to content

Instantly share code, notes, and snippets.

@iamtew
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamtew/325aeb6a37e80fb9cfb7 to your computer and use it in GitHub Desktop.
Save iamtew/325aeb6a37e80fb9cfb7 to your computer and use it in GitHub Desktop.
Notes on SaltStack

Random notes on SaltStack

Some random notes on Saltstack and tools around it

Upgrade the master:

# for X in /etc/init.d/salt-* ; do echo $X ; /sbin/service $(basename $X) stop; rm -vf $X ; done
# for X in /usr/lib/systemd/system/salt-*.service ; do echo $X ; systemctl stop $(basename $X) ; rm -fv $X ; done
# sh install_salt.sh -M -X -P git v2014.7.0rc5 

Upgrade minion:

# sh install_salt.sh -P git v2014.7.0rc5 

Check version of all machines:

# salt '*' cmd.run 'salt-call --versions-report'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment