summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/YUMng.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-06-06 23:49:35 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-06-06 23:49:35 +0000
commit9a44c84bd15c04723226f67f343bd5c4682de9f2 (patch)
tree439600b8140b784ed4961e89794c9deb40578c55 /src/lib/Client/Tools/YUMng.py
parent7e92e303d273663ef3f4d49ce7dd43d7d9bf217e (diff)
downloadbcfg2-9a44c84bd15c04723226f67f343bd5c4682de9f2.tar.gz
bcfg2-9a44c84bd15c04723226f67f343bd5c4682de9f2.tar.bz2
bcfg2-9a44c84bd15c04723226f67f343bd5c4682de9f2.zip
more driver updates from mbrady
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3261 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/YUMng.py')
-rw-r--r--src/lib/Client/Tools/YUMng.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py
index 37e70b378..c6edac6b8 100644
--- a/src/lib/Client/Tools/YUMng.py
+++ b/src/lib/Client/Tools/YUMng.py
@@ -332,8 +332,11 @@ class YUMng(Bcfg2.Client.Tools.RPMng.RPMng):
pkg_arg = pkg_arg + '.' + inst.get('arch')
erase_args.append(pkg_arg)
else:
+ pkgspec = { 'name':pkg.get('name'),
+ 'version':inst.get('version'),
+ 'release':inst.get('release')}
self.logger.info("WARNING: gpg-pubkey package not in configuration %s %s"\
- % (pkg.get('name'), self.str_evra(pkg)))
+ % (pkgspec.get('name'), self.str_evra(pkgspec)))
self.logger.info(" This package will be deleted in a future version of the RPMng driver.")
cmdrc, output = self.cmd.run(pkgtool % " ".join(erase_args))