diff options
Diffstat (limited to 'src/lib/Client/Tools/RPM.py')
-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"])) |