summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/Blast.py3
-rw-r--r--src/lib/Client/Tools/Yum.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/Blast.py b/src/lib/Client/Tools/Blast.py
index 459fb2ff8..f5a1f275a 100644
--- a/src/lib/Client/Tools/Blast.py
+++ b/src/lib/Client/Tools/Blast.py
@@ -7,10 +7,11 @@ import Bcfg2.Client.Tools.SYSV, tempfile
class Blast(Bcfg2.Client.Tools.SYSV.SYSV):
'''Support for Blastwave packages'''
pkgtype = 'blast'
- pkgtool = ("/opt/csw/bin/pkg-get install %s", ("%s", ["name"]))
+ pkgtool = ("/opt/csw/bin/pkg-get install %s", ("%s", ["bname"]))
__name__ = 'Blast'
__execs__ = ['/opt/csw/bin/pkg-get']
__handles__ = [('Package', 'blast')]
+ __ireq__ = {'Package': ['name', 'version', 'bname']}
def __init__(self, logger, setup, config, states):
# dont use the sysv constructor
diff --git a/src/lib/Client/Tools/Yum.py b/src/lib/Client/Tools/Yum.py
index 1760b3349..462ea09fd 100644
--- a/src/lib/Client/Tools/Yum.py
+++ b/src/lib/Client/Tools/Yum.py
@@ -25,7 +25,7 @@ class Yum(Bcfg2.Client.Tools.RPM.RPM):
pkgtool = ("/usr/bin/yum -d0 install %s", ("%s-%s", ["name", "version"]))
__name__ = 'Yum'
__execs__ = ['/usr/bin/yum', '/var/lib/rpm']
- __handles__ = [('Package', 'yum')]
+ __handles__ = [('Package', 'yum'), ('Package', 'rpm')]
__req__ = {'Package': ['name', 'version']}
conflicts = ['RPM']