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

Have you checked with the command salt-key -L,whether the key of the minion has been listed? If yes, have you accepted it? Use salt-key -A to accept all the unaccepted keys and salt-key -a <minion_id> to accept a specific key referenced by the minion id. –
for example:

[jsly@localhost salt]$ sudo salt-key -L
Accepted Keys:
Denied Keys:
Unaccepted Keys:
Rejected Keys:
[jsly@localhost salt]$ sudo salt-key -A
The following keys are going to be accepted:
Unaccepted Keys:
Proceed? [n/Y] Y
Key for minion accepted.

Possible Error when starting salt master

File "/usr/lib/python2.7/site-packages/salt/", line 45