From 21e7c62212e5ed827034cef294b5c1ec03ae2fda Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Wed, 27 Aug 2014 10:00:21 -0600 Subject: [PATCH] Set the route dst in the api maste_call interface --- salt/runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/runner.py b/salt/runner.py index 22f210dd79..bddbc38e21 100644 --- a/salt/runner.py +++ b/salt/runner.py @@ -131,6 +131,8 @@ class RunnerClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object): # 'tcp://{0[interface]}:{0[ret_port]}'.format(self.opts), # ) sreq = salt.transport.Channel.factory(self.opts, crypt='clear') + if self.opts['transport'] == 'raet': + sreq.dst = (None, None, 'local_cmd') ret = sreq.send(load) if isinstance(ret, collections.Mapping): if 'error' in ret: