rabbitmq / chef-cookbook

Development repository for Chef cookbook RabbitMQ
https://supermarket.chef.io/cookbooks/rabbitmq
Apache License 2.0
214 stars 423 forks source link

RabbitMQ restart each time I run chef-client #584

Closed ncoquelet closed 2 years ago

ncoquelet commented 2 years ago

Hi,

Each time I run chef-client on my vm, my rabbitmq service restart ! How can I stop this behavior ? Find nothing about it in documentation.

Thanks a lot

my attribute

default['rabbitmq']['version']='3.9.13'
default['rabbitmq']['erlang']['enabled'] = true
default['rabbitmq']['erlang']['version'] = '1:24.2.1-1'
default['rabbitmq']['loopback_users']=[]

my recipe

include_recipe 'rabbitmq::erlang_package'
include_recipe 'rabbitmq'
include_recipe 'rabbitmq::management_ui'

rabbitmq_policy "DLX" do
    pattern ".*"
    parameters ({"dead-letter-exchange":"my-dlx"})
    priority 1
    action :set
end