[generate.py] fx -> daath (création home+mail_bienvenue)

Ignore-this: e6de9e7106f3779e467889196590a40b

darcs-hash:20120827140156-28565-53e596260b3c8af9891cee12b5669cadab7919f1.gz
This commit is contained in:
Daniel STAN 2012-08-27 16:01:56 +02:00
parent 84d7e65368
commit 3591768b32
3 changed files with 9 additions and 23 deletions

View file

@ -48,7 +48,7 @@ class base_reconfigure:
'blacklist_autodisc_upload': [ 'sable-blacklist_autodisc_upload', 'komaz-blacklist', 'zamok-blacklist'],
'blacklist_autodisc_p2p': [ 'sable-blacklist_autodisc_p2p', 'komaz-blacklist', 'zamok-blacklist'],
'blacklist_bloq': [ 'komaz-blacklist', 'sable-blacklist_bloq', 'zamok-blacklist', 'dns' ],
'del_user': [ 'fx-del_user', 'owl-del_user', 'zamok-del_user' ]
'del_user': [ 'daath-del_user', 'owl-del_user', 'zamok-del_user' ]
}
def __init__(self, to_do=None):
@ -191,7 +191,7 @@ class zamok(base_reconfigure):
from firewall import firewall_zamok
firewall_zamok().blacklist()
class fx(base_reconfigure):
class daath(base_reconfigure):
def home(self, args):
from adherents import home
self._do(home(args))
@ -344,21 +344,6 @@ class gordon(base_reconfigure) :
from gen_confs.dhcpd_new import dhcp
self._do(dhcp(), self._machines())
class vert(base_reconfigure):
def home(self, args):
from adherents import home
self._do(home(args))
def del_user(self, args):
from adherents import del_user
self._do(del_user(args))
def mail_bienvenue(self, mails):
from adherents import mail_bienvenue
self._do(mail_bienvenue(mails))
class titanic(base_reconfigure):
def dhcp(self):
from gen_confs.dhcpd_new import dhcp