Reconfiguration des droits sur rouge (pour les ML)
darcs-hash:20050808204141-41617-1c77b31c7a95d8e3575cfaed1f2e4f925f3911db.gz
This commit is contained in:
parent
1b5851fbc9
commit
cf092ea34d
1 changed files with 4 additions and 6 deletions
|
@ -37,7 +37,7 @@ make_lock('auto_generate','Big lock',nowait=1)
|
|||
class base_reconfigure :
|
||||
__service_develop = {
|
||||
'macip' : [ 'rouge-macip', 'bleu-macip', 'sila-macip' , 'komaz-macip', 'zamok-macip' ] ,
|
||||
'droits': [ 'zamok-droits', 'nectaris-droits' ] ,
|
||||
'droits': [ 'rouge-droits', 'nectaris-droits' ] ,
|
||||
'blacklist_upload' : [ 'bl_squid_upload' , 'komaz-blacklist'] }
|
||||
|
||||
def __init__(self,to_do=[]) :
|
||||
|
@ -101,7 +101,9 @@ class base_reconfigure :
|
|||
eval("firewall.firewall_%s()" % hostname).mac_ip_maj(ips)
|
||||
|
||||
class rouge(base_reconfigure) :
|
||||
pass
|
||||
def droits(self) :
|
||||
from gen_confs.droits import droits_ldap
|
||||
self._do(droits_ldap())
|
||||
|
||||
class bleu(base_reconfigure) :
|
||||
# Tout est dans le parent
|
||||
|
@ -222,10 +224,6 @@ class zamok(base_reconfigure) :
|
|||
from autostatus import autostatus
|
||||
self._do(autostatus())
|
||||
|
||||
def droits(self) :
|
||||
from gen_confs.droits import droits_ldap
|
||||
self._do(droits_ldap())
|
||||
|
||||
def dns(self) :
|
||||
from gen_confs.bind import dns
|
||||
self._do(dns(),self._machines())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue