diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-01-02 05:05:22 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-01-02 05:05:22 +0000 |
commit | cf543994b8be92232ca636992ae64321148741e3 (patch) | |
tree | ea83cb78edef3d9508534d8e0423158e464cc9a3 | |
parent | 443883b66c879411d3c25377da9e3c669bae2fb3 (diff) | |
download | bcfg2-cf543994b8be92232ca636992ae64321148741e3.tar.gz bcfg2-cf543994b8be92232ca636992ae64321148741e3.tar.bz2 bcfg2-cf543994b8be92232ca636992ae64321148741e3.zip |
SYSV: URL is required for installation only (patch from Andrew Deason) (Resolves Ticket #511) [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4155 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Client/Tools/SYSV.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/SYSV.py b/src/lib/Client/Tools/SYSV.py index d9c707443..fb2e71dd2 100644 --- a/src/lib/Client/Tools/SYSV.py +++ b/src/lib/Client/Tools/SYSV.py @@ -23,7 +23,8 @@ class SYSV(Bcfg2.Client.Tools.PkgTool): '''Solaris SYSV package support''' __execs__ = ["/usr/sbin/pkgadd"] __handles__ = [('Package', 'sysv')] - __req__ = {'Package': ['name', 'url', 'version']} + __req__ = {'Package': ['name', 'version']} + __ireq__ = {'Package': ['name', 'url', 'version']} __name__ = 'SYSV' pkgtype = 'sysv' pkgtool = ("/usr/sbin/pkgadd %s -n -d %%s", (('%s %s', ['url', 'name']))) |