Firewall en dernier

darcs-hash:20040910182107-d1718-f57b3f984c091e914baad60bd2b4fc53ce140e59.gz
This commit is contained in:
bernat 2004-09-10 20:21:07 +02:00
parent d512b263ae
commit fd0dd3e6d9

View file

@ -148,13 +148,6 @@ if gethostname().split(".")[0] == 'zamok':
# On va donc la lire une seule fois pour leur passer ensuite
restartlater = []
if 'firewall' in to_do.keys() :
# Quand sila et komaz liront la base LDAP
# db.services_to_restart('firewall-komaz')
# db.services_to_restart('firewall-sila')
from gen_confs.firewall import firewall
inst.append([firewall(),"firewall"])
if 'dns' in to_do.keys() :
from gen_confs.bind import dns
inst.append([dns(),"dns"])
@ -163,6 +156,13 @@ if gethostname().split(".")[0] == 'zamok':
from gen_confs.dhcpd import dhcp
inst.append([dhcp(),"dhcp"])
if 'firewall' in to_do.keys() :
# Quand sila et komaz liront la base LDAP
# db.services_to_restart('firewall-komaz')
# db.services_to_restart('firewall-sila')
from gen_confs.firewall import firewall
inst.append([firewall(),"firewall"])
# On indique que les services seront a priori redemarrés
if auto :
for i in inst: