Properly set loopback_users via rabbitmq::loopback_users

Sorta resurrecting https://review.opendev.org/#/c/324016/ now that
https://github.com/voxpupuli/puppet-rabbitmq/pull/699 merged.

This commit prevents a duplicate entry for loopback_users in the
rabbitmq.config file:

{loopback_users, [<<"guest">>]},
{loopback_users, []},

keeping only the expected empty array.

Change-Id: I0c291bf5611f02983c430179206556bae3b38736
This commit is contained in:
Luca Miccini 2019-12-09 20:33:19 +01:00 committed by Michele Baldessari
parent f71c3fb856
commit 04a5937e1f
1 changed files with 1 additions and 1 deletions

View File

@ -131,6 +131,7 @@ outputs:
rabbitmq::delete_guest_user: false
rabbitmq::wipe_db_on_cookie_change: true
rabbitmq::port: 5672
rabbitmq::loopback_users: []
rabbitmq::package_provider: yum
rabbitmq::package_source: undef
rabbitmq::repos_ensure: false
@ -152,7 +153,6 @@ outputs:
rabbitmq_config_variables:
cluster_partition_handling: 'ignore'
queue_master_locator: '<<"min-masters">>'
loopback_users: '[]'
rabbitmq::erlang_cookie:
yaql:
expression: $.data.passwords.where($ != '').first()