salt.states.rabbitmq_vhost

Manage RabbitMQ Virtual Hosts

Example:

virtual_host:
  rabbitmq_vhost.present:
    - user: rabbit_user
    - conf: .*
    - write: .*
    - read: .*
salt.states.rabbitmq_vhost.absent(name, runas=None)

Ensure the RabbitMQ Virtual Host is absent

name
Name of the Virtual Host to remove
runas

User to run the command

Deprecated since version Beryllium.

salt.states.rabbitmq_vhost.present(name, user=None, owner=None, conf=None, write=None, read=None, runas=None)

Ensure the RabbitMQ VHost exists.

name
VHost name
user

Initial user permission to set on the VHost, if present

Deprecated since version Beryllium.

owner

Initial owner permission to set on the VHost, if present

Deprecated since version Beryllium.

conf

Initial conf string to apply to the VHost and user. Defaults to .*

Deprecated since version Beryllium.

write

Initial write permissions to apply to the VHost and user. Defaults to .*

Deprecated since version Beryllium.

read

Initial read permissions to apply to the VHost and user. Defaults to .*

Deprecated since version Beryllium.

runas

Name of the user to run the command

Deprecated since version Beryllium.