Benn Eichhorn <benn@getlocalmeasure.com>
new
all
Example:
rabbit_policy:
rabbitmq_policy.present:
- name: HA
- pattern: '.*'
- definition: '{"ha-mode": "all"}'
salt.states.rabbitmq_policy.
absent
(name, vhost='/', runas=None)¶Ensure the named policy is absent
Reference: http://www.rabbitmq.com/ha.html
The name of the policy to remove
Name of the user to run the command as
salt.states.rabbitmq_policy.
present
(name, pattern, definition, priority=0, vhost='/', runas=None, apply_to=None)¶Ensure the RabbitMQ policy exists.
Reference: http://www.rabbitmq.com/ha.html
Policy name
A regex of queues to apply the policy to
A json dict describing the policy
Priority (defaults to 0)
Virtual host to apply to (defaults to '/')
Name of the user to run the command as
Apply policy to 'queues', 'exchanges' or 'all' (default to 'all')
Generated on March 07, 2021 at 04:10:43 UTC.
You are viewing docs for the latest stable release, 3002.5. Switch to docs for the previous stable release, 3001.6, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy