diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 7ba8be75..9c2b6e4c 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -125,8 +125,7 @@ class ConfigInstall(object): def object_run(self, cdist_object): """Run gencode and code for an object""" - self.log.info("Running gencode and code for " + cdist_object.name) - + self.log.info("" + cdist_object.name) if cdist_object.state == cdist.core.object.STATE_RUNNING: raise cdist.Error("Detected circular dependency in " + cdist_object.__str__()) elif cdist_object.state == cdist.core.object.STATE_DONE: @@ -142,6 +141,8 @@ class ConfigInstall(object): required_object = cdist_object.object_from_name(requirement) self.object_run(required_object) + self.log.info("Running gencode and code for " + cdist_object.name) + # Generate cdist_object.code_local = self.code.run_gencode_local(cdist_object) cdist_object.code_remote = self.code.run_gencode_remote(cdist_object)