summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-12-12 16:59:42 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-12-12 16:59:42 +0000
commita6b556807a0012aaadbeb5a58ee9482d33f782d6 (patch)
treef19129b5883dc625f557cbf8cb3444a8d8987157 /src/lib
parent940a73f9d431b5bdd8d0109dcfa4cd0a67c869ba (diff)
downloadbcfg2-a6b556807a0012aaadbeb5a58ee9482d33f782d6.tar.gz
bcfg2-a6b556807a0012aaadbeb5a58ee9482d33f782d6.tar.bz2
bcfg2-a6b556807a0012aaadbeb5a58ee9482d33f782d6.zip
Add better apt-verbosity
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2589 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/APT.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index a3b56a154..7876e8cd2 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -75,8 +75,12 @@ class APT(Bcfg2.Client.Tools.PkgTool):
return False
return True
else:
+ self.logger.info("Incorrect version of Package %s installed: %s != %s" \
+ % (entry.get('name'), self.installed[entry.get('name')],
+ entry.get('version')))
entry.set('current_version', self.installed[entry.get('name')])
return False
+ self.logger.info("Package %s not installed" % (entry.get('name')))
entry.set('current_exists', 'false')
return False