From 9b5b94577fd75f6433b045c4dfa18770e80a9dde Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 6 Oct 2011 20:32:47 +0200 Subject: [PATCH] add debug Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 2 ++ lib/cdist/emulator.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index ac988425..29154f84 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -262,6 +262,8 @@ class ConfigInstall: log.info("Running object manifests and type explorers") + log.debug("Searching for objects in " + cdist.core.Object.base_dir()) + # Continue process until no new objects are created anymore new_objects_created = True while new_objects_created: diff --git a/lib/cdist/emulator.py b/lib/cdist/emulator.py index 519afd24..51b2ecc1 100644 --- a/lib/cdist/emulator.py +++ b/lib/cdist/emulator.py @@ -77,6 +77,8 @@ def run(argv): object_dir = os.path.join(global_dir, "object", type, object_id, cdist.path.DOT_CDIST) + log.debug("Object output dir = " + object_dir) + param_out_dir = os.path.join(object_dir, "parameter") object_source_file = os.path.join(object_dir, "source")