Pour some salt on me ##########################
Messing with salt-stack
.. contents::
.. code-block:: bash
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
The salt-master must make the following ports available to it’s salt-minions:
salt-minions do not need any special firewall rules
.. code-block:: bash
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: $MASTER/” /etc/salt/minion
sudo service salt-minion restart
or this
.. code-block:: bash
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;
/var/log/salt/minion
keys and ids
.. code-block:: bash
salt-key -L
.. code-block:: bash
salt-key -a
.. code-block:: bash
salt-key -A