summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-01-20 15:37:51 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-01-20 15:37:51 +0000
commit42baeeacb7618bcc269b2daa30766aff26f4f9f6 (patch)
tree29c880740611e0452f2cf31637c9a011f781d5ba /src/lib
parentd9762f9b90ce82f80e89fdaee5cd30300e08cc24 (diff)
downloadbcfg2-42baeeacb7618bcc269b2daa30766aff26f4f9f6.tar.gz
bcfg2-42baeeacb7618bcc269b2daa30766aff26f4f9f6.tar.bz2
bcfg2-42baeeacb7618bcc269b2daa30766aff26f4f9f6.zip
Add temporary -e mode to display extra configuration entry details (Resolves Ticket #369)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2703 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Frame.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py
index 47813defb..f9d7a8ab0 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -222,6 +222,9 @@ class Frame:
self.logger.info('Incorrect entries:\t%d' % self.states.values().count(False))
self.logger.info('Total managed entries:\t%d' % len(self.states.values()))
self.logger.info('Unmanaged entries:\t%d' % len(self.extra))
+ if phase == 'final' and self.setup['extra']:
+ self.logger.info(["%s:%s" % (entry.tag, entry.get('name')) \
+ for entry in self.extra])
self.logger.info("")
if ((self.states.values().count(False) == 0) and not self.extra):