summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/APT.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-01-22 14:54:31 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-01-22 14:54:31 -0600
commit5e4caefee0b27950884f33e9dec08b75b940a7a2 (patch)
treecb660d15973893e179dd2a23aaaa585af57be94c /src/lib/Client/Tools/APT.py
parent101383e1cd9dd6e4d4f3ba8064de3a2ca1130835 (diff)
downloadbcfg2-5e4caefee0b27950884f33e9dec08b75b940a7a2.tar.gz
bcfg2-5e4caefee0b27950884f33e9dec08b75b940a7a2.tar.bz2
bcfg2-5e4caefee0b27950884f33e9dec08b75b940a7a2.zip
client tools: Add verification failure suggestion (Resolves #724)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Client/Tools/APT.py')
-rw-r--r--src/lib/Client/Tools/APT.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index cc445f961..156186091 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -117,6 +117,9 @@ class APT(Bcfg2.Client.Tools.Tool):
modlist = [os.path.realpath(filename) for filename in modlist]
bad = [filename for filename in files if filename not in modlist]
if bad:
+ self.logger.debug("It is suggested that you either manage these "
+ "files, revert the changes, or ignore false "
+ "failures):")
self.logger.info("Package %s failed validation. Bad files are:" % \
entry.get('name'))
self.logger.info(bad)