diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2007-07-08 19:01:07 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2007-07-08 19:01:07 +0000 |
commit | 23021187d09ee95a6502dd57bd606561f858e87b (patch) | |
tree | ac3913191d40b2d48ba50e712738d611547f23dd /src/lib | |
parent | 98b66ec8786f1d7220cc6507a847afa2ac6d16a3 (diff) | |
download | bcfg2-23021187d09ee95a6502dd57bd606561f858e87b.tar.gz bcfg2-23021187d09ee95a6502dd57bd606561f858e87b.tar.bz2 bcfg2-23021187d09ee95a6502dd57bd606561f858e87b.zip |
Changed pkgtool syntax for SYSV packages so abstraction between package name / file name and URL handling work.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3425 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Tools/SYSV.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/SYSV.py b/src/lib/Client/Tools/SYSV.py index b540848fb..d9c707443 100644 --- a/src/lib/Client/Tools/SYSV.py +++ b/src/lib/Client/Tools/SYSV.py @@ -23,10 +23,10 @@ class SYSV(Bcfg2.Client.Tools.PkgTool): '''Solaris SYSV package support''' __execs__ = ["/usr/sbin/pkgadd"] __handles__ = [('Package', 'sysv')] - __req__ = {'Package': ['name', 'version']} + __req__ = {'Package': ['name', 'url', 'version']} __name__ = 'SYSV' pkgtype = 'sysv' - pkgtool = ("/usr/sbin/pkgadd %s -d %%s -n %%%%s", (("%s", ["name"]))) + pkgtool = ("/usr/sbin/pkgadd %s -n -d %%s", (('%s %s', ['url', 'name']))) def __init__(self, logger, setup, config, states): Bcfg2.Client.Tools.PkgTool.__init__(self, logger, setup, config, states) |