summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-01-23 21:23:55 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-01-23 21:23:55 +0000
commitb7eaacaef36b489a154d498cc054ebdc520c1121 (patch)
tree3f8c7e8cb2a519b5fb9976ae5b8d89e219057003
parente916dbf04f641631dabc5b48d3269748c099a4b7 (diff)
downloadbcfg2-b7eaacaef36b489a154d498cc054ebdc520c1121.tar.gz
bcfg2-b7eaacaef36b489a154d498cc054ebdc520c1121.tar.bz2
bcfg2-b7eaacaef36b489a154d498cc054ebdc520c1121.zip
Add output describing clobbered entries
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2710 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Frame.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py
index 17c3b02db..8a1695f8a 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -197,8 +197,12 @@ class Frame:
self.logger.error("%s.Inventory() call failed:" % tool.__name__, exc_info=1)
clobbered = [entry for bundle in mbundles for entry in bundle \
if not self.states[entry]]
- if not self.setup['interactive']:
- self.DispatchInstallCalls(clobbered)
+ if clobbered:
+ self.logger.debug("Found clobbered entries:")
+ self.logger.debug(["%s:%s" % (entry.tag, entry.get('name')) \
+ for entry in clobbered])
+ if not self.setup['interactive']:
+ self.DispatchInstallCalls(clobbered)
for tool, bundle in tbm:
try:
tool.BundleUpdated(bundle)