Installing a Salt Minion on CentOS 7
-
Installing the Salt Minion agent on a Minion node for Salt Stack is very simple. In this example I will build a CentOS 7 clone on a Scale HC3 cluster, then use the recommended bootstrap method to install the Minion system.
cd /tmp; curl -L https://bootstrap.saltstack.com -o install_salt.sh sh install_salt.sh
The Salt Minion just needs a way to locate its master. We just need to add the IP address of our Salt Master into the /etc/hosts file on the Minion(s) in order to contact it.
echo '192.168.1.97 salt' >> /etc/hosts
Where 192.168.1.97 is the IP Address of your Salt Master.
Don't forget to set your hostname of your Minion(s):
echo 'minion1' > /etc/hostname