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.

Note: not a 100% clean cherry pick due to tht path changes.

(cherry picked from commit 04a5937)

Change-Id: I0c291bf5611f02983c430179206556bae3b38736
  • Loading branch information
lmiccini authored and mbaldessari committed Dec 17, 2019
1 parent 7917f98 commit 45a42d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppet/services/rabbitmq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,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 @@ -121,7 +122,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 45a42d8

Please sign in to comment.