Exemple #1
0
 def __init__(self,
              name=".primus/deploy.conf",
              configs=[],
              dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)
     LoggableArtifact.__init__(self)
     self.target = configs
    def __init__(self,
                 name,
                 config=('.primus/deploy.conf', 'DEFAULT'),
                 dependencies=[]):
        PermanentFileArtifact.__init__(self, name, dependencies)
        if os.path.isdir(self.fullpath()):
            raise BaseException("Script cannot be a directory '%s'" %
                                self.fullpath())

        load_mysql_parameters(self, config[0], config[1])
Exemple #3
0
 def __init__ (self, name=".primus/deploy.conf", configs = [], dependencies = []):
     PermanentFileArtifact.__init__(self, name, dependencies) 
     LoggableArtifact.__init__(self)
     self.target = configs
Exemple #4
0
 def __init__ (self, name, classpath = [],  dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)
     self.classpath = classpath
Exemple #5
0
 def __init__ (self, name, config=('.primus/deploy.conf', 'DEFAULT'), dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)        
     if os.path.isdir(self.fullpath()): 
         raise BaseException("Script cannot be a directory '%s'" % self.fullpath())
     
     load_mysql_parameters(self, config[0], config[1])
Exemple #6
0
 def __init__(self, name, lib='lib', dependencies=[]):
     assert lib
     PermanentFileArtifact.__init__(self, name, dependencies)
     self.lib = lib
Exemple #7
0
 def __init__(self, name, dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)
Exemple #8
0
 def __init__(self, name, lib="lib", dependencies=[]):
     assert lib
     PermanentFileArtifact.__init__(self, name, dependencies)
     self.lib = lib
Exemple #9
0
 def __init__(self, name, dependencies=[]):
     PermanentFileArtifact.__init__(self, name, dependencies)