Install the salt-minion package on the target system.
Edit the /etc/salt/minion parameters file. Include/update the following suggested values:
master: [hostname of salt master]hash_type: sha256id: [hostname]log_level: info
Restart the salt-minion service (on SystemD systems, systemctl restart salt-minion).
Grains are static values stored locally on a minion (typically in /etc/salt/grains). They can be modified from the saltmaster and need to be resynchronized upon change. In some cases, it may be necessary to restart the salt-minion process to get it to re-read those values set.
Salt has many different commands that are executed under different circumstances. Unless explicitly noted I this page will default to specifying salt and assume you are running on a master but you may need to substitute that command with one of these under certain circumstances.
salt: MASTER ONLY, executes commands across minions from the master (Source).
salt-call: run module functions locally on a minion instead of executing them from the master (Source).
salt-run: MASTER ONLY, frontend command for executing Salt Runners (Source).