eventscripts: Simplify handling of $service name in reconfigure functions
commit4c9438b2a38dd00e2b24ca3c9b4ecd652fff6b89
authorMartin Schwenke <martin@meltin.net>
Mon, 29 Apr 2013 16:59:41 +0000 (30 02:59 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 6 May 2013 05:45:10 +0000 (6 15:45 +1000)
treedd68f3ea602c5c7e25aac8b3e40e5bcb72b064f5
parent642848b916afb0b4ba0dd298f98e86deef316436
eventscripts: Simplify handling of $service name in reconfigure functions

Complicated argument handling was introduced to deal with multiple
services per eventscript.  This was a failure and we split 50.samba.

This simplifies several functions to use global $service_name
unconditionally instead of having an optional argument.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit c2ea72ff565222f9edab408638bd45dbba6e8ff7)
ctdb/config/functions