mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #23230 from cachedout/swarm_tcp
Fix bug preventing minionswarm from working with tcp transport
This commit is contained in:
commit
92d7fcfff3
@ -263,6 +263,8 @@ class MinionSwarm(Swarm):
|
|||||||
data['raet_port'] = self.raet_port
|
data['raet_port'] = self.raet_port
|
||||||
data['pki_dir'] = os.path.join(dpath, 'pki')
|
data['pki_dir'] = os.path.join(dpath, 'pki')
|
||||||
self.raet_port += 1
|
self.raet_port += 1
|
||||||
|
elif self.opts['transport'] == 'tcp':
|
||||||
|
data['transport'] = 'tcp'
|
||||||
|
|
||||||
if self.opts['root_dir']:
|
if self.opts['root_dir']:
|
||||||
data['root_dir'] = self.opts['root_dir']
|
data['root_dir'] = self.opts['root_dir']
|
||||||
|
Loading…
Reference in New Issue
Block a user