From 6271e27eb51030df9a8f5e65422c66a594616122 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 17:38:09 +0200 Subject: [PATCH] transfer object parameter before running type explorers Signed-off-by: Steven Armstrong --- lib/cdist/config_install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index d20fb92d..22e836e2 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -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