Salt stack setup on Fedora
sudo yum install salt-master
sudo yum install salt-minion
sudo systemctl enable salt-master.service
sudo systemctl enable salt-minion.service
add ports 4505 and 4506 to firewall on master server
edit files in /etc/salt
change interface: in the file master to the ip address master
change master: in the file minion to the ip address of master
sudo systemctl start salt-master.service
sudo systemctl start salt-minion.service
sudo systemctl stop salt-minion.service
Now start minion with debug to see any errors
sudo salt-minion --log-level=debug
If you get the error: Attempting to authenticate with the Salt Master at
Then accept the keys
[jsly@localhost salt]$ sudo salt-key -L
Accepted Keys:
Denied Keys:
Unaccepted Keys:
192.168.222.144
Rejected Keys:
[jsly@localhost salt]$ sudo salt-key -A
The following keys are going to be accepted:
Unaccepted Keys:
192.168.222.144
Proceed? [n/Y] Y
Key for minion 192.168.222.144 accepted.
Possible Error when starting salt master
File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 45