cconf
is a utility for extracting values from a "INI" style configuration files. It has
three basic modes of operation.
The first mode simply prints all section names that begin with prefix.
The second mode extracts an option value by searching through one or more sections,
in the order specified on the command line. If the option does not exist in
The third mode will look in the standard section names for the given daemon id
of type type.
conffile, an optional default value may be output instead.
EXAMPLES
To extract the value of the "osd data" option for the osd0 daemon,
cconf -c foo.conf "osd data" -i 0 -t osd
This is equivalent to doing specifying sections [osd0], [osd.0],
[osd], or [global], in that order of preference: