If these configuration variables are not defined, then there should
a default fallback. This is a workaround till CTDB compile time
configuration can be accessed at runtime.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
. "$CTDB_BASE/functions"
+# Default fallback location for database directories.
+# These can be overwritten from CTDB configuration
+CTDB_DBDIR="${CTDB_VARDIR}"
+CTDB_DBDIR_PERSISTENT="${CTDB_VARDIR}/persistent"
+
loadconfig ctdb
(