[PATCH] Add config file handling to CTDB (finally!)
amitay at gmail.com
Sat May 12 04:31:07 UTC 2018
Here is a patch set that adds config file handling to CTDB. The conf
api allows to define configuration options and validation functions
for each component. This also adds a configuration validation tool.
The idea is to centralize all CTDB configuration. The config file will
follow the samba config file format. This will allow us to get rid of
the adhoc configuration file handling via ctdbd_wrapper for main ctdbd
and event scripts.
Other things in the patch set are:
- abstraction to handle command-line options and commands/arguments for tools
- abstraction for all the paths (also handles them for testing)
All the testing now will be based on CTDB_TEST_MODE and the paths will
be based on CTDB_BASE.
Please review and push.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 133066 bytes
Desc: not available
More information about the samba-technical