From 00550edfcbed8f767994ac602846cb7ff634de42 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 12:58:35 +0200 Subject: [PATCH] finish run_manifest() Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 96f9224e..548d3808 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -83,8 +83,7 @@ class ConfigInstall: # Information required in every manifest env['__target_host'] = self.target_host - # FIXME: __global == __cdist_out_dir - # FIXME: __global? shouldn't this be $global? + # FIXME: __global == __cdist_out_dir - duplication env['__global'] = self.context.out_dir # Submit debug flag to manifest, can be used by emulator and types @@ -95,7 +94,7 @@ class ConfigInstall: env['__cdist_manifest'] = manifest # Required to find types - env['__cdist_type_base_dir'] = self.path.type_base_dir + env['__cdist_type_base_dir'] = type.path # Other environment stuff if extra_env: @@ -104,6 +103,7 @@ class ConfigInstall: cdist.exec.shell_run_or_debug_fail(manifest, [manifest], env=env) ################################################################################ + def object_run(self, cdist_object, mode): """Run gencode or code for an object""" log.debug("Running %s from %s", mode, cdist_object)