From 3bb3ae54bc07194e39ea367a7f8fccd8cc5ef081 Mon Sep 17 00:00:00 2001 From: Olivier Huber Date: Fri, 20 Nov 2009 23:16:11 +0100 Subject: [PATCH] [gestion/ldap_crans.py] Restart dhcp on dyson when needed darcs-hash:20091120221611-8fbb1-e0cf1baf18ff59e91091adbdb891ad44d5eef306.gz --- gestion/ldap_crans.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 8a813ed9..a69f6259 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2977,6 +2977,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) self.services_to_restart('sable-dhcp') # TODO : le rendre plus propre self.services_to_restart('titanic-dhcp') + self.services_to_restart('dyson-dhcp') if 'portTCPin' in self.modifs or 'portTCPout' in self.modifs or \ 'portUDPin' in self.modifs or 'portUDPout' in self.modifs: self.services_to_restart('komaz-ports', [self.ip()]) @@ -3042,6 +3043,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) self.services_to_restart('gordon-dhcp') else: self.services_to_restart('sable-dhcp') + self.services_to_restart('dyson-dhcp') # TODO : le rendre plus propre self.services_to_restart('titanic-dhcp')