mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
iraet swarm needs ports
This commit is contained in:
parent
a23f320080
commit
ecc9b33859
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,7 @@ class Swarm(object):
|
|||
'''
|
||||
def __init__(self, opts):
|
||||
self.opts = opts
|
||||
self.raet_port = 4550
|
||||
|
||||
# If given a root_dir, keep the tmp files there as well
|
||||
if opts['root_dir']:
|
||||
|
@ -157,6 +158,8 @@ class Swarm(object):
|
|||
elif self.opts['transport'] == 'raet':
|
||||
data['transport'] = 'raet'
|
||||
data['sock_dir'] = os.path.join(dpath, 'sock')
|
||||
data['raet_port'] = self.raet_port
|
||||
self.raet_port += 1
|
||||
|
||||
if self.opts['root_dir']:
|
||||
data['root_dir'] = self.opts['root_dir']
|
||||
|
|
Loading…
Add table
Reference in a new issue