salt.states.rabbitmq_plugin

Manage RabbitMQ Plugins

2014.1.0 新版功能.

范例:

some_plugin:
  rabbitmq_plugin.enabled: []
salt.states.rabbitmq_plugin.disabled(name, runas=None)

Ensure the RabbitMQ plugin is disabled.

name
The name of the plugin
runas
The user to run the rabbitmq-plugin command as
salt.states.rabbitmq_plugin.enabled(name, runas=None)

Ensure the RabbitMQ plugin is enabled.

name
The name of the plugin
runas
The user to run the rabbitmq-plugin command as