Augeas is a configuration file API.
Augeas is a configuration file API written in C. Bindings are available in many languages. In particular, the Ruby bindings are used to provide an Augeas type in Puppet.
Augeas uses bidirectional programs called "lenses" and written in a language similar to Ocaml in order to parse configuration files.
More information: * http://augeas.net