trust in telmich we do (or should)

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-19 16:15:52 +02:00
parent c45c9cd702
commit 9156d2f5ac

View file

@ -140,11 +140,8 @@ class ConfigInstall(object):
for requirement in cdist_object.requirements: for requirement in cdist_object.requirements:
self.log.debug("Object %s requires %s", cdist_object, requirement) self.log.debug("Object %s requires %s", cdist_object, requirement)
required_object = cdist_object.object_from_name(requirement) required_object = cdist_object.object_from_name(requirement)
if required_object.state == core.Object.STATE_DONE: self.log.info("Resolving dependency %s for %s" % (required_object.name, cdist_object.name))
self.log.debug("Skipping fulfilled dependency %s for %s", required_object, cdist_object) self.object_run(required_object)
else:
self.log.info("Resolving dependency %s for %s" % (required_object.name, cdist_object.name))
self.object_run(required_object)
self.log.info("Running gencode and code for " + cdist_object.name) self.log.info("Running gencode and code for " + cdist_object.name)