Last active
December 26, 2015 08:39
-
-
Save renoirb/7124103 to your computer and use it in GitHub Desktop.
Bootstrapping Salt Stack 0.17
This file contains 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 -e | |
# | |
# http://intothesaltmine.org/blog/html/2013/03/04/upgrade_saltstack_installation.html | |
# | |
echo 'Updating refs' | |
apt-get update | |
echo 'Upgrading deps' | |
apt-get upgrade -y salt-minion | |
echo 'Bootstraping new Salt stack version' | |
wget -O - http://bootstrap.saltstack.org | sudo sh -s -- git v0.17.0 | |
echo 'Cleaning previous master key' | |
rm -rf /etc/salt/pki/minion/minion_master.pub | |
echo 'Restarting service' | |
service salt-minion restart | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment