Convert the new tag list into a string to prevent the TypeError #14484

This commit is contained in:
Scott Walton 2014-07-25 15:37:06 +01:00 committed by Colton Myers
parent c47b02c293
commit a809f9cf07

View File

@ -107,7 +107,7 @@ def present(name,
result.update(__salt__['rabbitmq.set_user_tags'](
name, tags, runas=runas)
)
changes['new'] += tags
changes['new'] += ' Tags: {0}'.format(', '.join(tags))
for element in perms:
for vhost, perm in element.items():
result.update(__salt__['rabbitmq.set_permissions'](