From d7d202fd3b90431261728a55ec4f741e3076b321 Mon Sep 17 00:00:00 2001 From: sylvainfaivre Date: Mon, 27 Nov 2023 17:51:03 +0100 Subject: [PATCH] fix: federation upstream set (ci error) --- rabbitmq/config/parameters/install.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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