Merge pull request #19406 from cachedout/batch_fix

Default transport in ckminions
This commit is contained in:
Mike Place 2015-01-06 13:40:27 -07:00
commit d2d1085f93

View File

@ -103,7 +103,7 @@ class CkMinions(object):
def __init__(self, opts): def __init__(self, opts):
self.opts = opts self.opts = opts
self.serial = salt.payload.Serial(opts) self.serial = salt.payload.Serial(opts)
if self.opts['transport'] == 'zeromq': if self.opts.get('transport', 'zeromq') == 'zeromq':
self.acc = 'minions' self.acc = 'minions'
else: else:
self.acc = 'accepted' self.acc = 'accepted'