mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
hook in the minion startup
This commit is contained in:
parent
9274b14f10
commit
c7cb7cbb69
1 changed files with 7 additions and 0 deletions
|
@ -45,3 +45,10 @@ class Minion(object):
|
|||
'config': options.config}
|
||||
|
||||
return cli
|
||||
|
||||
def start(self):
|
||||
'''
|
||||
Execute this method to start up a minion.
|
||||
'''
|
||||
minion = salt.Minion(opts)
|
||||
minion.tune_in()
|
||||
|
|
Loading…
Add table
Reference in a new issue