Beispiel #1
0
    def __init__(self, rootPath=""):

        self.rootPath = rootPath
        PXPaths.normalPaths(self.rootPath) 
        SystemManager.__init__(self)
        self.LOG = PXPaths.LOG          # Will be used by DirCopier
        self.debug = 0
Beispiel #2
0
    def __init__(self, drbdPath=False):
        """
        drbdPath: drbd path or False, drbd path if we use other root than /apps
        """

        if drbdPath:
            PDSPaths.drbdPaths(drbdPath) 
        else:
            PDSPaths.normalPaths() 

        SystemManager.__init__(self)
        self.LOG = PDSPaths.LOG  # Will be used by DirCopier