diff --git a/rabbitmq/config/user/install.sls b/rabbitmq/config/user/install.sls index f1bfc082..522c3117 100644 --- a/rabbitmq/config/user/install.sls +++ b/rabbitmq/config/user/install.sls @@ -15,7 +15,9 @@ include: rabbitmq-config-user-present-{{ name }}: rabbitmq_user.present: - name: {{ name }} - - {{ user|yaml }} + {% for value in user %} + - {{ value | yaml }} + {% endfor %} - require: - sls: {{ sls_service_running }} - sls: {{ sls_config_vhost }}