Skip to content

Commit

Permalink
fix: federation upstream set (ci error)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainfaivre committed Nov 28, 2023
1 parent 06da7bb commit d7d202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rabbitmq/config/parameters/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7d202f

Please sign in to comment.