salt-call

Invoke salt locally on a salt minion. More information: <https://docs.saltproject.io/en/latest/ref/cli/salt-call.html>.

Install

All systems
curl cmd.cat/salt-call.sh
Debian Debian
apt-get install salt-common
Ubuntu
apt-get install salt-common
Alpine
apk add salt
Arch Arch Linux
pacman -S salt
Fedora
dnf install salt-minion
Windows (WSL2)
sudo apt-get update sudo apt-get install salt-common
OS X
brew install salt
Raspbian
apt-get install salt-common
Docker
docker run cmd.cat/salt-call salt-call powered by Commando

Invoke salt locally on a salt minion. More information: <https://docs.saltproject.io/en/latest/ref/cli/salt-call.html>.

  • Perform a highstate on this minion:
    salt-call state.highstate
  • Perform a highstate dry-run, compute all changes but don't actually perform them:
    salt-call state.highstate test=true
  • Perform a highstate with verbose debugging output:
    salt-call -l debug state.highstate
  • List this minion's grains:
    salt-call grains.items

© tl;dr; authors and contributors