cloud.query needs to define mapper.opts (#33098)

This commit is contained in:
Nicole Thomas 2016-05-06 14:17:34 -06:00
parent c1f7aed8a5
commit 558561d86f

View File

@ -282,6 +282,7 @@ class CloudClient(object):
Query basic instance information
'''
mapper = salt.cloud.Map(self._opts_defaults())
mapper.opts['selected_query_option'] = 'list_nodes'
return mapper.map_providers_parallel(query_type)
def full_query(self, query_type='list_nodes_full'):