diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-05-06 01:26:35 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-05-06 01:26:35 +0000 |
commit | 13a817e07aeb3890972a62fa4905eb73e9f4cb99 (patch) | |
tree | 5a6c35020b0f5bc0a55a6790e76414d3d9bc1f61 /src/lib/Client | |
parent | 38cc3b18f268fd23db7fe22e80d5974a65fde55b (diff) | |
download | bcfg2-13a817e07aeb3890972a62fa4905eb73e9f4cb99.tar.gz bcfg2-13a817e07aeb3890972a62fa4905eb73e9f4cb99.tar.bz2 bcfg2-13a817e07aeb3890972a62fa4905eb73e9f4cb99.zip |
YUMng: Fix for RHEL5 (patch from Tim Lazlo)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5185 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index 61233b0df..3d6394320 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -55,6 +55,7 @@ class YUMng(Bcfg2.Client.Tools.RPMng.RPMng): self.yum_avail = dict() self.yum_installed = dict() self.yb = yum.YumBase() + self.yb.doGenericSetup() yup = self.yb.doPackageLists(pkgnarrow='updates') for dest, source in [(self.yum_avail, yup.updates), (self.yum_installed, self.yb.rpmdb)]: |