Forrest logo
back to context overview

salt

List of commands for salt:

  • salt:ai:324d5 Get the IPv4 address of the machine using Salt Grains
    $ salt grains.get ipv4 --out json
    try on your machine
    explain this command
  • salt:ai:47ac1 what is a sls file when using SALT ?
    $ salt ${target} state.sls ${filename}
    try on your machine
    explain this command
  • salt:tldr:16902 salt: Execute an arbitrary command on a particular minion.
    $ salt '${minion_id}' cmd.run "ls "
    try on your machine
    explain this command
  • salt:tldr:376b8 salt: Execute a highstate on all connected minions.
    $ salt '*' state.highstate
    try on your machine
    explain this command
  • salt:tldr:869c0 salt: List connected minions.
    $ salt '*' test.ping
    try on your machine
    explain this command
  • salt:tldr:a956b salt: Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions.
    $ salt '*.example.com' pkg.upgrade
    try on your machine
    explain this command
back to context overview