mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Add cli example to state.show_top
This commit is contained in:
parent
612cd6dfb1
commit
03ef00a432
@ -284,6 +284,10 @@ def show_sls(mods, env='base', test=None, **kwargs):
|
||||
def show_top():
|
||||
'''
|
||||
Return the top data that the minion will use for a highstate
|
||||
|
||||
CLI Example::
|
||||
|
||||
salt '*' state.show_top
|
||||
'''
|
||||
st_ = salt.state.HighState(__opts__)
|
||||
return st_.get_top()
|
||||
|
Loading…
Reference in New Issue
Block a user