Firewall en dernier
darcs-hash:20040910182107-d1718-f57b3f984c091e914baad60bd2b4fc53ce140e59.gz
This commit is contained in:
parent
d512b263ae
commit
fd0dd3e6d9
1 changed files with 7 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue