Allow the minion to retrive the master's configuration options

This commit is contained in:
Thomas S Hatch 2011-05-25 23:07:23 -06:00
parent 4569878aa8
commit 0c5af24605

View File

@ -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