Resource Type: rabbitmq_exchange

Defined in:
lib/puppet/type/rabbitmq_exchange.rb
Providers:
rabbitmqadmin

Overview

Native type for managing rabbitmq exchanges

Examples:

Create a rabbitmq_exchange

rabbitmq_exchange { 'myexchange@myvhost':
  user        => 'dan',
  password    => 'bar',
  type        => 'topic',
  ensure      => present,
  internal    => false,
  auto_delete => false,
  durable     => true,
  arguments   => {
    hash-header => 'message-distribution-hash'
  }
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • arguments

    Exchange arguments example: “message-distribution-hash”

  • auto_delete (defaults to: false)

    Exchange auto delete option to be set *on creation*

    Supported values:
    • %r{^\S+$}
  • durable (defaults to: false)

    Exchange durability to be set *on creation*

    Supported values:
    • %r{^\S+$}
  • internal (defaults to: false)

    Exchange internal option to be set *on creation*

    Supported values:
    • %r{^\S+$}
  • name (namevar)

    Name of exchange

    Supported values:
    • %r{^\S*@\S+$}
  • password (defaults to: guest)

    The password to use to connect to rabbitmq

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

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

  • type

    Exchange type to be set *on creation*

    Supported values:
    • %r{^\S+$}
  • user (defaults to: guest)

    The user to use to connect to rabbitmq

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