mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Converge on transport instead of salt_transport
This commit is contained in:
parent
cc8c4a8fe7
commit
7d1ae66f07
@ -188,7 +188,7 @@ VALID_OPTS = {
|
|||||||
'minion_id_caching': bool,
|
'minion_id_caching': bool,
|
||||||
'sign_pub_messages': bool,
|
'sign_pub_messages': bool,
|
||||||
'keysize': int,
|
'keysize': int,
|
||||||
'salt_transport': str,
|
'transport': str,
|
||||||
'enumerate_proxy_minions': bool,
|
'enumerate_proxy_minions': bool,
|
||||||
'gather_job_timeout': int,
|
'gather_job_timeout': int,
|
||||||
'auth_timeout': int,
|
'auth_timeout': int,
|
||||||
@ -295,7 +295,7 @@ DEFAULT_MINION_OPTS = {
|
|||||||
'grains_refresh_every': 0,
|
'grains_refresh_every': 0,
|
||||||
'minion_id_caching': True,
|
'minion_id_caching': True,
|
||||||
'keysize': 4096,
|
'keysize': 4096,
|
||||||
'salt_transport': 'zeromq',
|
'transport': 'zeromq',
|
||||||
'auth_timeout': 3,
|
'auth_timeout': 3,
|
||||||
'random_master': False,
|
'random_master': False,
|
||||||
}
|
}
|
||||||
@ -413,7 +413,7 @@ DEFAULT_MASTER_OPTS = {
|
|||||||
'jinja_trim_blocks': False,
|
'jinja_trim_blocks': False,
|
||||||
'sign_pub_messages': False,
|
'sign_pub_messages': False,
|
||||||
'keysize': 4096,
|
'keysize': 4096,
|
||||||
'salt_transport': 'zeromq',
|
'transport': 'zeromq',
|
||||||
'enumerate_proxy_minions': False,
|
'enumerate_proxy_minions': False,
|
||||||
'gather_job_timeout': 2,
|
'gather_job_timeout': 2,
|
||||||
'syndic_event_forward_timeout': 0.5,
|
'syndic_event_forward_timeout': 0.5,
|
||||||
|
@ -13,10 +13,10 @@ class Channel(object):
|
|||||||
# Default to ZeroMQ for now
|
# Default to ZeroMQ for now
|
||||||
ttype = 'zeromq'
|
ttype = 'zeromq'
|
||||||
|
|
||||||
if 'transport_type' in opts:
|
if 'transport' in opts:
|
||||||
ttype = opts['transport_type']
|
ttype = opts['transport']
|
||||||
elif 'transport_type' in opts.get('pillar', {}).get('master', {}):
|
elif 'transport' in opts.get('pillar', {}).get('master', {}):
|
||||||
ttype = opts['pillar']['master']['transport_type']
|
ttype = opts['pillar']['master']['transport']
|
||||||
|
|
||||||
if ttype == 'zeromq':
|
if ttype == 'zeromq':
|
||||||
return ZeroMQChannel(opts, **kwargs)
|
return ZeroMQChannel(opts, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user