In this recipe, we will learn how to synchronize minions with the master and apply the states to minions that are configured on the master.
We will perform both the push and the pull mechanisms for applying states to minions.
[root@salt-master ~]# salt-key -l accepted Accepted Keys: salt-minion
If all the previous recipes were followed correctly, then the preceding output will be found and here
salt-minion is the minion name whose key has been accepted.
[root@salt-master ~]# salt 'salt-minion' test.ping salt-minion: True [root@salt-master ...