Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Properly set loopback_users via rabbitmq::loopback_users
Browse files Browse the repository at this point in the history
Sorta resurrecting https://review.opendev.org/#/c/324016/ now that
voxpupuli/puppet-rabbitmq#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
  • Loading branch information
lmiccini authored and mbaldessari committed Dec 11, 2019
1 parent f71c3fb commit 04a5937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/rabbitmq/rabbitmq-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()
Expand Down

0 comments on commit 04a5937

Please sign in to comment.