~ubuntu-branches/ubuntu/hardy/bcfg2/hardy-updates

« back to all changes in this revision

Viewing changes to src/lib/Client/Tools/Blast.py

  • Committer: Bazaar Package Importer
  • Author(s): Sami Haahtinen
  • Date: 2006-11-16 22:39:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061116223916-8dtn3t86cz58vg2x
Tags: 0.8.6.1-1
* New Upstream Release
* Replaced faulty if clause in bcfg2.postrm (Closes: #398772)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This is the bcfg2 support for blastwave packages (pkg-get)
 
2
'''This provides bcfg2 support for blastwave'''
 
3
__revision__ = '$Revision: 2401 $'
 
4
 
 
5
import Bcfg2.Client.Tools.SYSV
 
6
 
 
7
class Blast(Bcfg2.Client.Tools.SYSV.SYSV):
 
8
    '''Support for Blastwave packages'''
 
9
    pkgtype = 'blast'
 
10
    pkgtool = ("/opt/csw/bin/pkg-get install %s", ("%s", ["name"]))
 
11
    __name__ = 'Blast'
 
12
    __execs__ = ['/opt/csw/bin/pkg-get']
 
13
    __handles__ = [('Package', 'blast')]
 
14
 
 
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
 
19
 
 
20
    def FindExtraPackages(self):
 
21
        '''Pass through to null FindExtra call'''
 
22
        return []