| maintainer: | Benn Eichhorn <benn@getlocalmeasure.com> |
|---|---|
| maturity: | new |
| platform: | all |
范例:
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
salt.states.rabbitmq_policy.present(name, pattern, definition, priority=0, vhost='/', runas=None)¶Ensure the RabbitMQ policy exists.
Reference: http://www.rabbitmq.com/ha.html