Here is a cli commands cheat sheet for SALT command, you can use this as a quick reminder for basic commands with a brief description
for each of the commands.
What is SALT command?
Add some data here
# Show pending keys to be accepted:
salt-key -L
# Accept all pending keys:
salt-key -A
# Accept pending key by name:
salt-key -a
# Remove key by name:
salt-key -D
# Test minion connection:
salt test.ping
# Show active salt jobs
salt-run jobs.active
# Kill active job
salt saltutil.kill_job
# Copy small file (< 100kb) from master to minion
salt-cp
# Copy large file from master (/srv/salt/) directory to minion
salt cp.get_file salt://
# Copy file from minion to master (will be stored at /var/cache/salt/master/minions//files
salt cp.push
# Deploy state
salt state.apply