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 June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy