Add a samba-container ctdb-list-nodes command that emits a "nodes file" content to the stdout of the process.
Add hooks to set up a ctdb "nodes_cmd" config file option that tells ctdb to execute a command to fetch the nodes rather than read a file.
Also add a --wait-for=ctdb option to avoid starting certain services before ctdb is available and causing unnecessary container restarts.
Add a
samba-container ctdb-list-nodes
command that emits a "nodes file" content to the stdout of the process. Add hooks to set up a ctdb "nodes_cmd" config file option that tells ctdb to execute a command to fetch the nodes rather than read a file.Also add a
--wait-for=ctdb
option to avoid starting certain services before ctdb is available and causing unnecessary container restarts.