diff --git a/rabbitmq/config/parameters/install.sls b/rabbitmq/config/parameters/install.sls index 9d01cdf2..a7cf87f7 100644 --- a/rabbitmq/config/parameters/install.sls +++ b/rabbitmq/config/parameters/install.sls @@ -18,7 +18,7 @@ rabbitmq-config-parameters-present-{{ name }}-{{ param }}: {%- if p.component == 'federation-upstream' %} /usr/sbin/rabbitmqctl --node {{ name }} set_parameter --vhost={{ '/' if 'vhost' not in p else p.vhost }} {{ p.component }} '{{ param }}' '{{ p.definition|json }}' # noqa 204 {%- else %}{# federation-upstream-set for now #} - /usr/sbin/rabbitmqctl --node {{ name }} set_parameter --vhost={{ '/' if 'vhost' not in p else p.vhost }} {{ p.component }} '{{ param }}' '[{{ p.definition|json }},]' # noqa 204 + /usr/sbin/rabbitmqctl --node {{ name }} set_parameter --vhost={{ '/' if 'vhost' not in p else p.vhost }} {{ p.component }} '{{ param }}' '[{{ p.definition|json }}]' # noqa 204 {%- endif %} - runas: rabbitmq - onlyif: test -x /usr/sbin/rabbitmqctl