tldr/pages/common/salt-call.md

20 lines
392 B
Markdown
Raw Normal View History

2014-07-27 20:36:19 +01:00
# salt-key
2015-10-22 08:31:52 +01:00
2014-07-27 20:36:19 +01:00
> Invoke salt locally on a salt minion.
- 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`