pour-some-salt-on-me
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-minionsalt-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
sudo sed -i "s/#master: salt/#master: salt\nmaster: $MASTER/" /etc/salt/minion
sudo service salt-minion restartor this
wget --no-check-certificate -O - http://bootstrap.saltstack.org | sudo sh && echo "master: master.foxhop.net" >> /etc/salt/minion.d/foxhop.conf && echo "append_domain: foxhop.net" >> /etc/salt/minion.d/foxhop.conf;minion log
/var/log/salt/minion
Salt keys
keys and ids
Remarkbox
Comments