tldr/pages/common/salt-call.md

21 lines
477 B
Markdown
Raw Normal View History

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.
> More information: <https://docs.saltproject.io/en/latest/ref/cli/salt-call.html>.
2014-07-27 20:36:19 +01:00
- Perform a highstate on this minion:
2014-07-27 20:36:19 +01:00
`salt-call state.highstate`
- 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`
- Perform a highstate with verbose debugging output:
2014-07-27 20:36:19 +01:00
`salt-call -l debug state.highstate`
- List this minion's grains:
2014-07-27 20:36:19 +01:00
`salt-call grains.items`