コード例 #1
0
ファイル: antivirus.py プロジェクト: maximerobin/Ufwi
 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
ファイル: site2site.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.cfg = None
     self.FINGERPRINT_CREATED = None
     self.FINGERPRINT = None
コード例 #3
0
ファイル: snmpd.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.snmp_users_filename = None
コード例 #4
0
ファイル: ids_ips.py プロジェクト: maximerobin/Ufwi
    def __init__(self):
        ConfigServiceComponent.__init__(self)

        self.ids_ips_cfg = None
コード例 #5
0
ファイル: antispam.py プロジェクト: maximerobin/Ufwi
    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
ファイル: resolv.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/resolv.conf', 'root:root', '0644')
     self.key_exists = False
     self.resolvcfg = ResolvCfgAutoconf()
コード例 #7
0
ファイル: hosts.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile(HOSTS_FILE, 'root:root', '0644')
     self.key_exists = False
コード例 #8
0
ファイル: ntp.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.addConfFile('/etc/ntp.conf', 'root:root', '0644')
コード例 #9
0
ファイル: dhcp.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     self.dhcpcfg = None
     ConfigServiceComponent.__init__(self)
コード例 #10
0
ファイル: quagga.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
コード例 #11
0
ファイル: auth_cert.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     UseCertificateComponent.__init__(self)
コード例 #12
0
ファイル: exim.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     self.config = None
     ConfigServiceComponent.__init__(self)
コード例 #13
0
ファイル: openvpn.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     UseCertificateComponent.__init__(self)
     self.openvpn_cfg = self.context = self.core = None
コード例 #14
0
ファイル: hostname.py プロジェクト: maximerobin/Ufwi
 def __init__(self):
     ConfigServiceComponent.__init__(self)
     self.empty_conf = False
     self.name_fmt = getHostnameFormatHA(ENOHA) # default fmt