minor: more verbosity for minion
This commit is contained in:
parent
a54bccb2d0
commit
cfabfc119f
@ -55,14 +55,16 @@ if __name__ == '__main__':
|
||||
|
||||
|
||||
while True:
|
||||
# indicate that I am loaded up, and ready for workload
|
||||
if options.verbose:
|
||||
print "%s: letting master know that I am ready" % myname
|
||||
masterq.put(myname)
|
||||
# wait for master's start signal
|
||||
|
||||
if options.verbose:
|
||||
print "%s: waiting for master to tell me to start" % myname
|
||||
action = minionsq.get()
|
||||
if options.verbose:
|
||||
print "%s: master said go!!" % myname
|
||||
|
||||
if action in ('teardown', 'slay'):
|
||||
# take back one name ?
|
||||
# masterq.get()
|
||||
|
Loading…
Reference in New Issue
Block a user