ctdb-scripts: Add new function load_script_options()
authorMartin Schwenke <martin@meltin.net>
Mon, 19 Feb 2018 02:13:26 +0000 (13:13 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 28 Mar 2018 00:57:21 +0000 (02:57 +0200)
commita2f8730c759438317ba3a0df08890075117e2525
tree8cb8504b949060303847fe3fc315e8f4c64bdd0c
parente0c2b3a1e10c1e4557720933a0bd906901112e8e
ctdb-scripts: Add new function load_script_options()

For now this loads the global CTDB configuration too.  This will
change in the future after things are properly modularised.

This also anticipates a future change where event scripts end with a
".script" suffix.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/functions