[secours] On ajoute nem

This commit is contained in:
Pierre-Elliott Bécue 2013-05-20 15:51:28 +02:00
parent 9a5294c7ee
commit e37c04cdd4

View file

@ -1,4 +1,4 @@
#! /usr/bin/env python #!/usr/bin/env python
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
"""Reconfiguration des services pour la connexion de secours """Reconfiguration des services pour la connexion de secours
@ -41,6 +41,12 @@ FICHIERS = {
'charybde': { 'charybde': {
'/etc/bind/named.conf.options': '//' , '/etc/bind/named.conf.options': '//' ,
}, },
'gordon': {
'/etc/bind/named.conf.options': '//' ,
},
'nem': {
'/etc/bind/named.conf.options': '//' ,
},
'zamok': { 'zamok': {
'/etc/postfix/main.cf': '#', '/etc/postfix/main.cf': '#',
}, },
@ -60,6 +66,12 @@ COMMANDES = {
'charybde': [ 'charybde': [
'/etc/init.d/bind9 reload', '/etc/init.d/bind9 reload',
], ],
'gordon': [
'/etc/init.d/bind9 reload',
],
'nem': [
'/etc/init.d/bind9 reload',
],
'zamok': [ 'zamok': [
'/etc/init.d/postfix restart', '/etc/init.d/postfix restart',
], ],