def disable_plugin(name, runas=None):
 if ((runas is None) and (not salt.utils.is_windows())):
  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')

def disable_plugin ( name , runas = None ) : if ( ( runas is None ) and ( not salt . utils . is_windows ( ) ) ) : 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 .