Beispiel #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)
Beispiel #2
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.cfg = None
     self.FINGERPRINT_CREATED = None
     self.FINGERPRINT = None
Beispiel #3
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.snmp_users_filename = None
Beispiel #4
0
    def __init__(self):
        ConfigServiceComponent.__init__(self)

        self.ids_ips_cfg = None
Beispiel #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
Beispiel #6
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/resolv.conf', 'root:root', '0644')
     self.key_exists = False
     self.resolvcfg = ResolvCfgAutoconf()
Beispiel #7
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile(HOSTS_FILE, 'root:root', '0644')
     self.key_exists = False
Beispiel #8
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/ntp.conf', 'root:root', '0644')
Beispiel #9
0
 def __init__(self):
     self.dhcpcfg = None
     ConfigServiceComponent.__init__(self)
Beispiel #10
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
Beispiel #11
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     UseCertificateComponent.__init__(self)
Beispiel #12
0
 def __init__(self):
     self.config = None
     ConfigServiceComponent.__init__(self)
Beispiel #13
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     UseCertificateComponent.__init__(self)
     self.openvpn_cfg = self.context = self.core = None
Beispiel #14
0
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.empty_conf = False
     self.name_fmt = getHostnameFormatHA(ENOHA) # default fmt