Resource Type: rabbitmq_vhost

Defined in:
lib/puppet/type/rabbitmq_vhost.rb
Providers:
rabbitmqctl

Overview

Native type for managing rabbitmq vhosts

Examples:

query all current vhosts

$ puppet resource rabbitmq_vhost`

Create a rabbitmq_vhost

rabbitmq_vhost { 'myvhost':
  ensure             => present,
  description        => 'myvhost description',
  tags               => ['tag1', 'tag2'],
  default_queue_type => 'quorum',
}

Properties

  • default_queue_type

    The default queue type for queues in this vhost

    Supported values:
    • classic
    • quorum
    • stream
  • description

    A description of the vhost

  • ensure (defaults to: present)

    Whether the resource should be present or absent

    Supported values:
    • present
    • absent
  • tags (defaults to: [])

    additional tags for the vhost

Parameters

  • name (namevar)

    The name of the vhost to add

    Supported values:
    • %r{^\S+$}
  • provider

    The specific backend to use for this ‘rabbitmq_vhost` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.