当前位置: 首页>>代码示例>>Python>>正文


Python PluginConfig.setDefault方法代码示例

本文整理汇总了Python中mmc.support.config.PluginConfig.setDefault方法的典型用法代码示例。如果您正苦于以下问题:Python PluginConfig.setDefault方法的具体用法?Python PluginConfig.setDefault怎么用?Python PluginConfig.setDefault使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mmc.support.config.PluginConfig的用法示例。


在下文中一共展示了PluginConfig.setDefault方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     PluginConfig.setDefault(self)
     self.squidReload = "/etc/init.d/squid reload"
     self.squidUser = "proxy"
     self.squidGroup = "proxy"
     self.sgBinary = "/usr/bin/squidGuard"
     self.sgBlacklist = "/var/lib/squidguard/db/bad.destdomainlist"
开发者ID:AnatomicJC,项目名称:mmc,代码行数:9,代码来源:__init__.py

示例2: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     PluginConfig.setDefault(self)
     self.authmethod = "baseldap"
     self.provmethod = None
     self.computersmethod = "none"
     self.passwordscheme = "ssha"
     self.auditmethod = "none"
开发者ID:AnatomicJC,项目名称:mmc,代码行数:9,代码来源:config.py

示例3: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     """
     Set good default for the module if a parameter is missing the
     configuration file.
     This function is called in the class constructor, so what you
     set here will be overwritten by the readConf method.
     """
     PluginConfig.setDefault(self)
开发者ID:neoclust,项目名称:pulse,代码行数:10,代码来源:config.py

示例4: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     """
     Set default values
     """
     PluginConfig.setDefault(self)
     self.dbsslenable = False
     self.dbpoolrecycle = 60
     self.dbpoolsize = 5
开发者ID:tekmans,项目名称:mmc,代码行数:10,代码来源:config.py

示例5: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
    def setDefault(self):

        PluginConfig.setDefault(self)

        self.pid_path = "/var/run/pulse2/ssh_support"
        self.ssh_path = "/usr/bin/ssh"
        self.support_url = "rssh.mandriva.com"
        self.support_user = "support"
        self.identify_file = "/etc/mmc/plugins/support/id_rsa"
        self.check_pid_delay = 2
        self.session_timeout = 7200

        self.license_server_url = "https://serviceplace.mandriva.com/api/v1/support"
        self.install_id_path = "/etc/pulse-licensing/installation_id"
        self.install_uuid = None

        self.cron_search_for_updates = "0 6 * * *"
        self.license_tmp_file = "/var/lib/mmc/pulse_license_info"
        self.country = "FR"
开发者ID:andrewlukoshko,项目名称:mmc,代码行数:21,代码来源:config.py

示例6: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     PluginConfig.setDefault(self)
     self.dnsReader = None
     self.dnsReaderPassword = None
开发者ID:tekmans,项目名称:mmc,代码行数:6,代码来源:__init__.py

示例7: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     PluginConfig.setDefault(self)
     self.diskquotaenable = True
     self.networkquotaenable = False
开发者ID:vmasilva,项目名称:mmc,代码行数:6,代码来源:__init__.py

示例8: setDefault

# 需要导入模块: from mmc.support.config import PluginConfig [as 别名]
# 或者: from mmc.support.config.PluginConfig import setDefault [as 别名]
 def setDefault(self):
     PluginConfig.setDefault(self)
     self.samba_conf_file = '/etc/samba/smb.conf'
     self.samba_init_script = '/etc/init.d/samba'
     self.av_so = "/usr/lib/samba/vfs/vscan-clamav.so"
开发者ID:AnatomicJC,项目名称:mmc,代码行数:7,代码来源:config.py


注:本文中的mmc.support.config.PluginConfig.setDefault方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。