[gen_conf/{dhcpd_new,generate}] Nouveau serveur dhcp

This commit is contained in:
Pierre-Elliott Bécue 2013-05-19 17:51:05 +02:00
parent a7feb02f4a
commit e2b39511a5
2 changed files with 12 additions and 4 deletions

View file

@ -54,6 +54,7 @@ class base_reconfigure:
'del_user': [ 'zbee-del_user', 'owl-del_user', 'zamok-del_user' ],
'port': ['komaz-port'],
'dhcp': ['dhcp-dhcp'],
'isc': ['isc-dhcp'],
}
#Y R U Aliasing !
__service_develop.update({
@ -276,6 +277,11 @@ class dhcp(base_reconfigure):
from gen_confs.dhcpd_new import dhcp
self._do(dhcp(), db.search("mid=*")['machine'])
class isc(base_reconfigure):
def dhcp(self):
from gen_confs.dhcpd_new import dhcp
self._do(dhcp(), db.search("mid=*")['machine'])
class sable(base_reconfigure):
def dns(self):