From c1cfea6365f0f5f5f98809ba5514c5e906737798 Mon Sep 17 00:00:00 2001 From: Didier METRAL Date: Tue, 14 May 2024 11:57:31 +0200 Subject: [PATCH] fix: recursive requisite for salt 3007 --- rabbitmq/config/plugins/install.sls | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rabbitmq/config/plugins/install.sls b/rabbitmq/config/plugins/install.sls index 49b84312..66a1bd3f 100644 --- a/rabbitmq/config/plugins/install.sls +++ b/rabbitmq/config/plugins/install.sls @@ -30,7 +30,13 @@ rabbitmq-config-plugins-{{ name }}-rabbitmqadmin-install: - unless: test -x /usr/local/sbin/rabbitmqadmin - onlyif: /usr/sbin/rabbitmq-plugins --node {{ name }} is_enabled rabbitmq_management - require: - - sls: {{ sls_service_running }} + - rabbitmq-service-running-directory-{{ name }} + - rabbitmq-service-running-managed-{{ name }} + {%- if grains.os_family == 'RedHat' %} + - rabbitmq-service-running-managed-{{ name }}-limits + {%- endif %} + - rabbitmq-service-running-service-running-{{ name }} + - rabbitmq-service-running-daemon-reload file.managed: - name: /usr/local/sbin/rabbitmqadmin - user: root