Install ZMQ handler if <15 version

This commit is contained in:
Bo Maryniuk 2018-02-16 13:56:38 +01:00
parent 296c589f4b
commit 2aab70b1b8

View file

@ -645,6 +645,7 @@ class SMinion(MinionBase):
# Clean out the proc directory (default /var/cache/salt/minion/proc)
if (self.opts.get('file_client', 'remote') == 'remote'
or self.opts.get('use_master_when_local', False)):
install_zmq()
io_loop = ZMQDefaultLoop.current()
io_loop.run_sync(
lambda: self.eval_master(self.opts, failed=True)