single item list vs. list of characters

This commit is contained in:
Jeremy Rosenbaum 2015-06-18 11:30:01 -07:00
parent daa76c34e4
commit 18ceebc77f

View file

@ -802,7 +802,7 @@ class Minion(MinionBase):
elif isinstance(opts['master'], str) and ('master_list' not in opts):
# We have a string, but a list was what was intended. Convert.
# See issue 23611 for details
opts['master'] = list(opts['master'])
opts['master'] = [opts['master']]
elif opts['__role'] == 'syndic':
log.info('Syndic setting master_syndic to \'{0}\''.format(opts['master']))