autostatus sur rouge

darcs-hash:20050813082950-d1718-5e45e268059b7c720f228c7686de2e58ace88907.gz
This commit is contained in:
bernat 2005-08-13 10:29:50 +02:00
parent eee9f320ec
commit fb58f8e8ea

View file

@ -101,6 +101,10 @@ class base_reconfigure :
eval("firewall.firewall_%s()" % hostname).mac_ip_maj(ips)
class rouge(base_reconfigure) :
def autostatus(self) :
from autostatus import autostatus
self._do(autostatus())
def dns(self) :
from gen_confs.bind import dns
self._do(dns(),self._machines())
@ -228,10 +232,6 @@ class zamok(base_reconfigure) :
from gen_confs.switchs import switch
self._do(switch(chambres))
def autostatus(self) :
from autostatus import autostatus
self._do(autostatus())
signal.signal(signal.SIGINT,signal.SIG_DFL) # Comportement normal de Ctrl-C
remove_lock('auto_generate')