From 558561d86fd41803350c80c50de55e4b9ef0bd1a Mon Sep 17 00:00:00 2001 From: Nicole Thomas Date: Fri, 6 May 2016 14:17:34 -0600 Subject: [PATCH] cloud.query needs to define mapper.opts (#33098) --- salt/cloud/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py index 8ffb4ef866..74a7fff7c1 100644 --- a/salt/cloud/__init__.py +++ b/salt/cloud/__init__.py @@ -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'):