22.27.95. salt.states.rabbitmq_vhost

22.27.95.1. 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:: 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:: Beryllium
owner
Initial owner permission to set on the VHost, if present
conf
Initial conf string to apply to the VHost and user. Defaults to .*
write
Initial write permissions to apply to the VHost and user. Defaults to .*
read
Initial read permissions to apply to the VHost and user. Defaults to .*
runas
Name of the user to run the command .. deprecated:: Beryllium

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Table Of Contents

Previous topic

22.27.94. salt.states.rabbitmq_user

Next topic

22.27.96. salt.states.rbenv

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.