Skip to content

Commit

Permalink
fix(guest): remove guest user from all nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Jul 24, 2021
1 parent 6a78a3d commit eaaa8bd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rabbitmq/config/users/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ rabbitmq-config-users-added-{{ name }}-{{ user }}:
{%- endfor %}
{%- endif %}
{%- endfor %}
{% if salt['pillar.get']('rabbitmq:remove_guest_user', True) %}
{% if node.remove_guest_user == True %}
rabbitmq-config-users-guest-absent:
rabbitmq-config-users-guest-absent-{{ name }}:
rabbitmq_user.absent:
- name: guest
{% endif %}
{% endif %}
{%- endfor %}

0 comments on commit eaaa8bd

Please sign in to comment.