mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
f20c0e42ce
commit
f6fcf19a7f
1 changed files with 4 additions and 0 deletions
|
@ -711,6 +711,10 @@ class Minion(MinionBase):
|
|||
' {0}'.format(opts['master']))
|
||||
if opts['master_shuffle']:
|
||||
shuffle(opts['master'])
|
||||
elif isinstance(opts['master']), str):
|
||||
# We have a string, but a list was what was intended. Convert.
|
||||
# See #23611 for details
|
||||
opts['master'] = list(opts['master'])
|
||||
elif opts['__role'] == 'syndic':
|
||||
log.info('Syndic setting master_syndic to \'{0}\''.format(opts['master']))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue