mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #25704 from cachedout/master_type_2014_7
Ensure prior alignment with master_type in 2014.7
This commit is contained in:
commit
3a15df22ac
@ -271,7 +271,7 @@ VALID_OPTS = {
|
||||
DEFAULT_MINION_OPTS = {
|
||||
'interface': '0.0.0.0',
|
||||
'master': 'salt',
|
||||
'master_type': 'standard',
|
||||
'master_type': 'str',
|
||||
'master_port': '4506',
|
||||
'master_finger': '',
|
||||
'master_shuffle': False,
|
||||
|
@ -686,7 +686,7 @@ class Minion(MinionBase):
|
||||
(possibly failed) master will then be removed from the list of masters.
|
||||
'''
|
||||
# check if master_type was altered from its default
|
||||
if opts['master_type'] != 'standard':
|
||||
if opts['master_type'] != 'str':
|
||||
# check for a valid keyword
|
||||
if opts['master_type'] == 'func':
|
||||
# split module and function and try loading the module
|
||||
|
Loading…
Reference in New Issue
Block a user