0

I once ran across a very cool Python project that provides a Pythonic interface to various config file formats like:

  • /etc/hosts
  • /etc/resolv.conf
  • Samba smb.conf

Etc. I think the library was produced by RedHat.

I'm not talking about a full-blown configuration tool like Ansible or SaltStack.

I can't remember the name of this library. Do you?

2

Found it:

Augeas - a configuration API

Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files.

It is a C library but provides Python bindings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.