[generate] Factorisation de la configuration
This commit is contained in:
parent
0cd2557800
commit
8385237cd1
1 changed files with 3 additions and 3 deletions
|
@ -38,10 +38,10 @@ db = crans_ldap()
|
|||
make_lock('auto_generate', 'Big lock', nowait=1)
|
||||
|
||||
class base_reconfigure:
|
||||
__blacklist_servers = [ 'komaz-blacklist', 'zamok-blacklist', 'routeur-blacklist' ]
|
||||
__firewalled_servers = [ 'redisdead', 'zamok', 'sable', 'komaz', 'gordon', 'routeur' ]
|
||||
__blacklist_servers = [ _s + '-blacklist' for _s in __firewalled_servers ]
|
||||
__service_develop = {
|
||||
'macip': [ 'redisdead-macip', 'zamok-macip', 'sable-macip', 'komaz-macip', 'gordon-macip',
|
||||
'routeur-macip' ],
|
||||
'macip': [ _s + '-macip' for _s in __firewalled_servers ],
|
||||
# 'droits': [ 'rouge-droits', 'ragnarok-droits' ],
|
||||
'bl_carte_etudiant': __blacklist_servers,
|
||||
'bl_chbre_invalide': __blacklist_servers,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue