diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-01-05 18:47:27 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-01-05 18:47:27 +0000 |
commit | a64d0af803351f6a7146906cd6b379b2072b022f (patch) | |
tree | 1ae86fd6b0f98fe909e3c0cef7c8a5c04ed9df4c /src/lib | |
parent | 264070f0f31b9ee9128b6df4003282a57e03081f (diff) | |
download | bcfg2-a64d0af803351f6a7146906cd6b379b2072b022f.tar.gz bcfg2-a64d0af803351f6a7146906cd6b379b2072b022f.tar.bz2 bcfg2-a64d0af803351f6a7146906cd6b379b2072b022f.zip |
Fix verify failures when installation info isn't supplied.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2624 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Tools/RPM.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/RPM.py b/src/lib/Client/Tools/RPM.py index 1a5eb8f94..3ba5cc0d9 100644 --- a/src/lib/Client/Tools/RPM.py +++ b/src/lib/Client/Tools/RPM.py @@ -9,7 +9,8 @@ class RPM(Bcfg2.Client.Tools.PkgTool): __name__ = 'RPM' __execs__ = ['/bin/rpm', '/var/lib/rpm'] __handles__ = [('Package', 'rpm')] - __req__ = {'Package': ['name', 'version', 'url']} + __req__ = {'Package': ['name', 'version']} + __ireq__ = {'Package': ['name', 'version', 'url']} pkgtype = 'rpm' pkgtool = ("rpm --oldpackage --replacepkgs --quiet -U %s", ("%s", ["url"])) |