ctdb-scripts: Allow load_system_config() to take multiple alternatives
authorMartin Schwenke <martin@meltin.net>
Wed, 20 Mar 2019 10:19:49 +0000 (21:19 +1100)
committerMartin Schwenke <martins@samba.org>
Sun, 31 Mar 2019 10:45:20 +0000 (10:45 +0000)
commit0d67ea5fcca766734ecc73ad6b0139f7c13a15c5
treeb50ae7fa0ad3ea32edf2595d7e521a8e9014e7d7
parent95283bdf2e9ceff2e35af494c79345cfe25c2cf8
ctdb-scripts: Allow load_system_config() to take multiple alternatives

The situation for NFS config has got more complicated and is probably
broken in statd-callout on Debian-like systems at the moment.  Allow
several alternative configuration names to be tried.  Stop after the
first that is found and loaded.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13860

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