Пример #1
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/clamav/clamd.conf', 'root:root', '0644')
     # by default antivirus is disabled
     self.used_by = {} # component name : used/unused (bool)
Пример #2
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.cfg = None
     self.FINGERPRINT_CREATED = None
     self.FINGERPRINT = None
Пример #3
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.snmp_users_filename = None
Пример #4
0
    def __init__(self):
        ConfigServiceComponent.__init__(self)

        self.ids_ips_cfg = None
Пример #5
0
    def __init__(self):
        ConfigServiceComponent.__init__(self)
        self.addConfFile("/etc/spamassassin/local.cf", "root:root", "0644")
        self.addConfFile("/etc/default/spamassassin", "root:root", "0644")

        self.config = None
Пример #6
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/resolv.conf', 'root:root', '0644')
     self.key_exists = False
     self.resolvcfg = ResolvCfgAutoconf()
Пример #7
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile(HOSTS_FILE, 'root:root', '0644')
     self.key_exists = False
Пример #8
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/ntp.conf', 'root:root', '0644')
Пример #9
0
 def __init__(self):
     self.dhcpcfg = None
     ConfigServiceComponent.__init__(self)
Пример #10
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
Пример #11
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     UseCertificateComponent.__init__(self)
Пример #12
0
 def __init__(self):
     self.config = None
     ConfigServiceComponent.__init__(self)
Пример #13
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     UseCertificateComponent.__init__(self)
     self.openvpn_cfg = self.context = self.core = None
Пример #14
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.empty_conf = False
     self.name_fmt = getHostnameFormatHA(ENOHA) # default fmt