1
# This is the bcfg2 support for blastwave packages (pkg-get)
2
'''This provides bcfg2 support for blastwave'''
3
__revision__ = '$Revision: 2401 $'
5
import Bcfg2.Client.Tools.SYSV
7
class Blast(Bcfg2.Client.Tools.SYSV.SYSV):
8
'''Support for Blastwave packages'''
10
pkgtool = ("/opt/csw/bin/pkg-get install %s", ("%s", ["name"]))
12
__execs__ = ['/opt/csw/bin/pkg-get']
13
__handles__ = [('Package', 'blast')]
15
# VerifyPackage comes from Bcfg2.Client.Tools.SYSV
16
# Install comes from Bcfg2.Client.Tools.PkgTool
17
# Extra comes from Bcfg2.Client.Tools.Tool
18
# Remove comes from Bcfg2.Client.Tools.SYSV
20
def FindExtraPackages(self):
21
'''Pass through to null FindExtra call'''