|
|
Messing with salt-stack
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
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 restart
or 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;
/var/log/salt/minion
keys and ids
salt-key -L
salt-key -a <minion id>
salt-key -A
Source: https://foxhop.net/f3bd8400-2f95-11f1-980e-e86a64d24d78/pour-some-salt-on-me
Snapshot: 2026-05-25T01:47:58Z
Generator: Remarkbox 1527ef7