示例#1
0
    def init(self, name, conffile=None):
        self.name = name
        if not conffile: self.conffile = mmctools.getConfigFile(name)
        else: self.conffile = conffile

        MscDatabaseConfig.setup(self, self.conffile)
        self.setup(self.conffile)
示例#2
0
文件: config.py 项目: vmasilva/mmc
    def init(self, name, conffile = None):
        self.name = name
        if not conffile: self.conffile = mmctools.getConfigFile(name)
        else: self.conffile = conffile

        MscDatabaseConfig.setup(self, self.conffile)
        self.setup(self.conffile)
示例#3
0
文件: config.py 项目: allgi/mmc
    def init(self, name = 'inventory', conffile = None):
        self.dbsection = "inventory"
        self.name = name
        if not conffile: self.conffile = mmctools.getConfigFile(name)
        else: self.conffile = conffile

        InventoryDatabaseConfig.setup(self, self.conffile)
        self.setup(self.conffile)
示例#4
0
文件: config.py 项目: gnumaniac/pulse
    def init(self, name = 'inventory', conffile = None):
        self.dbsection = "inventory"
        self.name = name
        if not conffile: self.conffile = mmctools.getConfigFile(name)
        else: self.conffile = conffile

        InventoryDatabaseConfig.setup(self, self.conffile)
        self.setup(self.conffile)
示例#5
0
 def __init__(self, conffile = None, name = "inventory"):
     if not conffile:
         conffile = getConfigFile(name)
     ProvisionerI.__init__(self, conffile, name, InventoryProvisionerConfig)
示例#6
0
 def __init__(self, conffile = None, name = "inventory"):
     if not conffile:
         conffile = getConfigFile(name)
     ProvisionerI.__init__(self, conffile, name, InventoryProvisionerConfig)
示例#7
0
 def __init__(self, conffile = None, name = "glpi"):
     if not conffile:
         conffile = getConfigFile(name)
     ProvisionerI.__init__(self, conffile, name, GlpiProvisionerConfig)
示例#8
0
 def __init__(self, conffile=None, name="glpi"):
     if not conffile:
         conffile = getConfigFile(name)
     ProvisionerI.__init__(self, conffile, name, GlpiProvisionerConfig)
示例#9
0
 def __init__(self, conffile = None, name = "glpi"):
     if not conffile:
         conffile = getConfigFile(name)
     AuthenticatorI.__init__(self, conffile, name, GlpiAuthenticatorConfig)
示例#10
0
文件: auth.py 项目: neoclust/mmc
 def __init__(self, conffile=None, name="glpi"):
     if not conffile:
         conffile = getConfigFile(name)
     AuthenticatorI.__init__(self, conffile, name, GlpiAuthenticatorConfig)