summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-01-31 22:39:39 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-01-31 22:39:39 +0000
commitd5868059970c51311a234deef1aa3669abd7260f (patch)
tree7ecaf681686f863cfea95bf288faf827316f3bda /src/lib/Client/Tools
parent88610f7615dbcad7e0e1b94bd58f7510e50cd01b (diff)
downloadbcfg2-d5868059970c51311a234deef1aa3669abd7260f.tar.gz
bcfg2-d5868059970c51311a234deef1aa3669abd7260f.tar.bz2
bcfg2-d5868059970c51311a234deef1aa3669abd7260f.zip
fix the yum driver
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2744 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools')
-rw-r--r--src/lib/Client/Tools/Yum.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/Yum.py b/src/lib/Client/Tools/Yum.py
index 641d30a30..b019bfad8 100644
--- a/src/lib/Client/Tools/Yum.py
+++ b/src/lib/Client/Tools/Yum.py
@@ -13,6 +13,7 @@ class Yum(Bcfg2.Client.Tools.RPM.RPM):
__name__ = 'Yum'
__execs__ = ['/usr/bin/yum', '/var/lib/rpm']
__handles__ = [('Package', 'yum')]
+ __req__ = {'Package': ['name', 'version']}
def RemovePackages(self, packages):
'''Remove specified entries'''