def disable_plugin(name, runas=None):
    if runas is None:
        runas = salt.utils.get_user()
    cmd = [_get_rabbitmq_plugin(), 'disable', name]
    ret = __salt__['cmd.run_all'](cmd, runas=runas, python_shell=False)
    return _format_response(ret, 'Disabled')
Disable a RabbitMQ plugin via the rabbitmq-plugins command.
dataset/ETHPy150Open saltstack/salt/salt/modules/rabbitmq.py/disable_plugin