From 4e2e731374a55827e4670885b6c4bf6948c3a9d5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 10 Sep 2011 00:43:28 +0200 Subject: [PATCH] execute the correct manifest for objects Signed-off-by: Nico Schottelius --- bin/cdist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cdist b/bin/cdist index af19a676..ff114325 100755 --- a/bin/cdist +++ b/bin/cdist @@ -406,11 +406,11 @@ class Cdist: "__object_fq": cdist_object, "__type": type } - self.run_manifest(self.initial_manifest, extra_env=env) + self.run_manifest(manifest, extra_env=env) def run_manifest(self, manifest, extra_env=None): """Run a manifest""" - log.info("Running manifest %s", manifest) + log.info("Running manifest %s, env=%s", manifest, extra_env) env = os.environ.copy() env['PATH'] = self.bin_dir + ":" + env['PATH']