mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Allow the minion to retrive the master's configuration options
This commit is contained in:
parent
4569878aa8
commit
0c5af24605
@ -360,6 +360,12 @@ class MWorker(multiprocessing.Process):
|
||||
ret['hash_type'] = self.opts['hash_type']
|
||||
return self.crypticle.dumps(ret)
|
||||
|
||||
def _master_opts(self, load):
|
||||
'''
|
||||
Return the master options to the minion
|
||||
'''
|
||||
return self.crypticle.dumps(self.opts)
|
||||
|
||||
def _return(self, load):
|
||||
'''
|
||||
Handle the return data sent from the minions
|
||||
|
Loading…
Reference in New Issue
Block a user