def list_enabled_plugins(runas=None):
 if ((runas is None) and (not salt.utils.is_windows())):
  runas = salt.utils.get_user()
 cmd = [_get_rabbitmq_plugin(), 'list', '-m', '-e']
 ret = __salt__['cmd.run_all'](cmd, python_shell=False, runas=runas)
 _check_response(ret)
 return _output_to_list(ret['stdout'])

def list_enabled_plugins ( runas = None ) : if ( ( runas is None ) and ( not salt . utils . is_windows ( ) ) ) : runas = salt . utils . get_user ( ) cmd = [ _get_rabbitmq_plugin ( ) , 'list' , '-m' , '-e' ] ret = __salt__ [ 'cmd.run_all' ] ( cmd , python_shell = False , runas = runas ) _check_response ( ret ) return _output_to_list ( ret [ 'stdout' ] )
returns a list of the names of the enabled plugins .