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