2019-05-15 10:36:01 +01:00
|
|
|
# salt-call
|
2015-10-22 08:31:52 +01:00
|
|
|
|
2014-07-27 20:36:19 +01:00
|
|
|
> Invoke salt locally on a salt minion.
|
2019-05-23 11:56:50 +01:00
|
|
|
> More information: <https://docs.saltstack.com/ref/cli/salt-call.html>.
|
2014-07-27 20:36:19 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Perform a highstate on this minion:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-call state.highstate`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Perform a highstate dry-run, compute all changes but don't actually perform them:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-call state.highstate test=true`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Perform a highstate with verbose debugging output:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-call -l debug state.highstate`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- List this minion's grains:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-call grains.items`
|