Salt

salt

VIEW ALL KEYS

salt-key --list-all

ACCEPT A SPECIFIC KEY

salt-key --accept=<key>

ACCEPT ALL KEYS

salt-key --accept-all

salt '*' test.ping
salt '*' cmd.run 'ls -l /etc'
salt '*' disk.usage
salt '*' pkg.install cowsay
salt '*' network.interfaces

Targets can be based on Salt minion system information using the Grains system:

salt -G 'os:Ubuntu' test.ping

Targets can be filtered by regular expression:
salt -E 'minion[0-9]' test.ping