Forrest logo
back to the salt tool

salt:tldr:376b8

salt: Execute a highstate on all connected minions.
$ salt '*' state.highstate
try on your machine

The command "salt '*' state.highstate" is used in the SaltStack (Salt) configuration management tool.

  • "salt" is the command-line tool used to interact with Salt infrastructure.
  • "'*'" specifies the target, in this case, all minions (Salt clients) connected to the Salt master.
  • "state.highstate" tells Salt to apply the state files, which define the desired system state, to the targeted minions. It ensures that the system's configuration is in compliance with the specified states.

In summary, executing this command will instruct the Salt master to apply the state files to all connected minions, bringing their configurations to the desired state.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • what is a high state s SALT env ? ?
back to the salt tool