transfer object parameter before running type explorers

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-13 17:38:09 +02:00
parent 254051d2ec
commit 6271e27eb5

View file

@ -107,6 +107,7 @@ class ConfigInstall(object):
def run_type_explorers(self, cdist_object):
"""Run type explorers and save output in object."""
self.explorer.transfer_type_explorers(cdist_object.type)
self.explorer.transfer_object_parameters(cdist_object)
for explorer in self.explorer.list_type_explorer_names(cdist_object.type):
output = self.explorer.run_type_explorer(explorer, cdist_object)
cdist_object.explorers[explorer] = output