mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Allow for tcp transport in auth
This commit is contained in:
parent
a6cad46301
commit
3d80e67a2d
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ class Resolver(object):
|
|||
self.auth = salt.loader.auth(opts)
|
||||
|
||||
def _send_token_request(self, load):
|
||||
if self.opts['transport'] == 'zeromq':
|
||||
if self.opts['transport'] in ('zeromq', 'tcp'):
|
||||
master_uri = 'tcp://' + salt.utils.ip_bracket(self.opts['interface']) + \
|
||||
':' + str(self.opts['ret_port'])
|
||||
channel = salt.transport.client.ReqChannel.factory(self.opts,
|
||||
|
|
Loading…
Add table
Reference in a new issue