Control the state system on the minion
Members
Execute the compound calls stored in a single set of high data This function is mostly intended for testing the state system
CLI Example:
salt '*' state.high '{"vim": {"pkg": ["installed"]}}'
Retrive the state data from the salt master for this minion and execute it
CLI Example:
salt '*' state.highstate
Execute a single low data call This function is mostly intended for testing the state system
CLI Example:
salt '*' state.low '{"state": "pkg", "fun": "installed", "name": "vi"}'
Retrieve the highstate data from the salt master and display it
CLI Example:
salt '*' state.show_highstate
List out the low data that will be applied to this minion
CLI Example:
salt '*' state.show_lowstate
Display the data gathered from the master compiled state
CLI Example:
salt '*' state.show_masterstate
Display the state data from a specific sls or list of sls files on the master
CLI Example:
salt '*' state.sls core,edit.vim dev
Execute a single state function with the named kwargs, returns False if insufficient data is sent to the command
CLI Example:
salt '*' state.single pkg.installed name=vim
Execute a set list of state modules from an environment, default environment is base
CLI Example:
salt '*' state.sls core,edit.vim dev
Execute the information stored in a template file on the minion
CLI Example:
salt '*' state.template '<Path to template on the minion>'