[trigger] Refactorisation (voir détails) - On passe aux tests
* Pour une plus grande modularité, event a été refactorisé, ce qui a impliqué de réécrire le fonctionnement des services. * Maintenant, y a plus qu'à tester.
This commit is contained in:
parent
3d98882755
commit
d29343392b
7 changed files with 283 additions and 130 deletions
|
@ -4,6 +4,8 @@
|
|||
# Trigger library config file
|
||||
# License : GPLv3
|
||||
|
||||
import itertools
|
||||
|
||||
# Serveur maître
|
||||
master = "civet.adm.crans.org"
|
||||
|
||||
|
@ -23,3 +25,8 @@ services = {
|
|||
'zamok' : ["userdel"],
|
||||
'zbee' : ["useradd", "userdel"],
|
||||
}
|
||||
|
||||
# XXX - Uncomment this when in prod
|
||||
#all_services = set([service for service in itertools.chain(*services.values())])
|
||||
|
||||
all_services = ['dhcp', 'firewall']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue