setup salt minion

on minion side:


curl -L https://bootstrap.saltstack.com -o install_salt.sh
sudo sh install_salt.sh git develop
sed -i 's/#master: salt/master: master.com/g' /etc/salt/minion
sed -i 's/#id:/#id: worker01/g' /etc/salt/minion
salt-minion -d
ps aux | grep minion

on master side:


salt-key -L
salt-key -A
salt '*' test.ping

Advertisements