Login or register    

Pour some salt on me

Messing with salt-stack

Setup salt-master on ubuntu

sudo apt-get -y install python-software-properties
sudo add-apt-repository -y ppa:saltstack/salt
sudo apt-get update
sudo apt-get -y install salt-master
sudo apt-get -y install salt-minion

or this:

wget -O - https://bootstrap.saltstack.com | sudo sh -s -- -M stable

salt-master ports

The salt-master must make the following ports available to it's salt-minions:

  • 4505
  • 4506

salt-minions do not need any special firewall rules

Setup salt-minion on ubuntu

MASTER=master.foxhop.net # put your master here

sudo apt-get -y install python-software-properties
sudo add-apt-repository -y ppa:saltstack/salt
sudo apt-get update
sudo apt-get -y install salt-minion

echo "master: $MASTER" >> /etc/salt/minion.d/foxhop.conf
echo "append_domain: foxhop.net" >> /etc/salt/minion.d/foxhop.conf

sudo service salt-minion restart

or this

wget -O - https://bootstrap.saltstack.com | sudo sh -s -- stable;

echo "master: master.foxhop.net" >> /etc/salt/minion.d/foxhop.conf;

sudo service salt-minion restart

minion log

/var/log/salt/minion

Comments

Leave a comment

Please login or register to leave a comment!