]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-server: use the new "nodes list" configuration option
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 6 Jun 2024 14:00:10 +0000 (10:00 -0400)
committerMartin Schwenke <martins@samba.org>
Tue, 6 Aug 2024 00:43:36 +0000 (00:43 +0000)
commitdc65e7082d6027822f66ea067ae62b124bf0834a
tree36cb8b247d3c38181e3a7b337733dec1eab882fe
parent315890e845bcf4c0d404622ec813ef4eb265ba56
ctdb-server: use the new "nodes list" configuration option

Use the new "nodes list" configuration option. Executing the given path
if the path is prefixed by a `!`. The use case is to decouple the nodes
file from the shared storage, especially in the case where the shared
storage is provided by a vfs module.

For an example, imagine a script that runs `curl` on a URL for a
highly-available web server where the URL provides the content
of the nodes file.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdbd.c