mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Add call_highstate function to the state minion module
This commit is contained in:
parent
81829e3d7b
commit
e52aca24a8
@ -50,3 +50,12 @@ def template_str(tem):
|
||||
st_ = salt.state.State(__opts__)
|
||||
return st_.call_template_str(tem)
|
||||
|
||||
def highstate():
|
||||
'''
|
||||
Retrive the state data from the salt master for this minion and execute it
|
||||
|
||||
CLI Example:
|
||||
salt '*' state.highstate
|
||||
'''
|
||||
st_ = salt.state.State(__opts__)
|
||||
return st_.call_highstate()
|
||||
|
Loading…
Reference in New Issue
Block a user