From 35900ae66cfda15945a185b1045620210bd54ef2 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 17:01:59 +0200 Subject: [PATCH] make type explorer work Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index afc32d63..d55429ed 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -192,8 +192,10 @@ class ConfigInstall: self.transfer_object_parameter(cdist_object) for explorer in cdist_type.explorers: - remote_cmd = cmd + [os.path.join(cdist_type.explorer_path, explorer)] - output = os.path.join(cdist_object.explorer_output_path, explorer) + remote_cmd = cmd + [os.path.join(self.context.type_base_path, + cdist_type.explorer_path, explorer)] + output = os.path.join(self.context.object_base_path, + cdist_object.explorer_path, explorer) output_fd = open(output, mode='w') log.debug("%s exploring %s using %s storing to %s", cdist_object, explorer, remote_cmd, output)