def list_queues(backend='sqlite'):
 queue_funcs = salt.loader.queues(__opts__)
 cmd = '{0}.list_queues'.format(backend)
 if (cmd not in queue_funcs):
  raise SaltInvocationError('Function "{0}" is not available'.format(cmd))
 ret = queue_funcs[cmd]()
 return ret

def list_queues ( backend = 'sqlite' ) : queue_funcs = salt . loader . queues ( __opts__ ) cmd = '{0}.list_queues' . format ( backend ) if ( cmd not in queue_funcs ) : raise SaltInvocationError ( 'Function "{0}" is not available' . format ( cmd ) ) ret = queue_funcs [ cmd ] ( ) return ret
return a list of salt queues on the salt master .