Convert str master to list

Closes #23611
This commit is contained in:
Mike Place 2015-05-13 01:06:28 -06:00
parent f20c0e42ce
commit f6fcf19a7f

View file

@ -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']))