Quick Salt Minion Setup

Thu 12 June 2014

I find myself setting up salt minions a LOT. So I figured I'd write down the steps in this concise format.

On the minion

  1. sudo add-apt-repository ppa:saltstack/salt
  2. sudo apt-get update && sudo apt-get install salt-minion
  3. sudo echo '<salt-master-ip> salt' >> /etc/hosts //Or whatever the salt master is
  4. sudo salt-call -l debug state.highstate

Then on the master

  1. sudo salt-key -L
  2. sudo salt-key -a <key_name>

Then back on the minion

  1. sudo salt-call -l debug state.highstate

It also shows just how fast it is to get a box up and running with salt!

Category: SaltStack Tagged: saltstack devops

Comments