Carbon

Parses Carbon’s configuration files

Author: Marc Fournier marc.f.nosp@m.ournier@camptoc.nosp@m.amp.com

Summary
CarbonParses Carbon’s configuration files
ReferenceThis lens is based on the conf/*.conf.example files from the Carbon package.
Configuration filesThis lens applies to most files in /etc/carbon/.
Usage Example
LicenseThis file is licensed under the LGPL v2+, like the rest of Augeas.

Reference

This lens is based on the conf/*.conf.example files from the Carbon package.

Configuration files

This lens applies to most files in /etc/carbon/.  See filter.  NB: whitelist.conf and blacklist.conf use a different syntax.  This lens doesn’t support them.

Usage Example

$ augtool
augtool> ls /files/etc/carbon/carbon.conf/
cache/ = (none)
relay/ = (none)
aggregator/ = (none)

augtool> get /files/etc/carbon/carbon.conf/cache/ENABLE_UDP_LISTENER
/files/etc/carbon/carbon.conf/cache/ENABLE_UDP_LISTENER = False

augtool> set /files/etc/carbon/carbon.conf/cache/ENABLE_UDP_LISTENER True
augtool> save
Saved 1 file(s)

The Test_Carbon file also contains various examples.

License

This file is licensed under the LGPL v2+, like the rest of Augeas.

Provides unit tests and examples for the Carbon lens.
Close