Resource Type: rabbitmq_policy
- Defined in:
- lib/puppet/type/rabbitmq_policy.rb
- Providers:
-
rabbitmqctl
Overview
Type for managing rabbitmq policies
Examples:
Create a rabbitmq_policy
rabbitmq_policy { 'ha-all@myvhost':
pattern => '.*',
priority => 0,
applyto => 'all',
definition => {
'ha-mode' => 'all',
'ha-sync-mode' => 'automatic',
},
}
Properties
-
applyto
(defaults to: all)
policy apply to
Supported values:- all
- exchanges
- queues
-
definition
policy definition
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
pattern
policy pattern
-
priority
(defaults to: 0)
policy priority
Supported values:- %r{^\d+$}
Parameters
-
name (namevar)
combination of policy@vhost to create policy for
Supported values:- %r{^\S+@\S+$}
-
provider
The specific backend to use for this ‘rabbitmq_policy` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.