68. pepsi-config¶
Inspect the effective configuration shared by every component.
68.1. Role¶
pepsi-config looks up, expands and dumps the merged Pepsi configuration.
Every component reads the same INI-style configuration file, so a single tool
serves them all; the per-component config subcommands earlier releases
shipped have been retired in favour of this one. It only reads the
configuration — no database connection, no network access. Reference:
pepsi-config(1).
68.2. Features¶
get — print the value of an option in a section; with
--filenamethe value is treated as a path and$-expanded.pathsub — substitute
${VAR}/$VARplaceholders in a path expression from the[PATHS]section and the environment.dump — print the merged configuration; with
--diagnosticsit also records the file and line each option came from.
68.3. Validation¶
pepsi-config dump pairs with pepsi-setup(1)’s check when
validating an installation: check queries live DNS, while dump shows the
effective values the components will actually see.