Re: Easy automated editing of /etc/files with Augeas
Posted by: Anonymous
[ip: 12.35.96.66]
on June 12, 2008 08:12 PM
It's good for automating changes. Say you need to add/change/delete an entry to a config file on a pool of machines, the files contain different per-machine customizations, and some of the files already contain an incorrect but matching entry. It sounds like this would let you avoid having to write (and test!) a quick-n-dirty script in your favorite language. I like the idea of one tool that already understands lots of different config file formats, although I'll admit that the manipulation commands seem arcane.
I wonder if you can use the Perl/Python API as a way to load config files into a program? I've had config files that started out as .INI files, and had to change to something more complicated as requirments changed. This sounds like a tool that would let one program handle these situations.
Re: Easy automated editing of /etc/files with Augeas
Posted by: Anonymous [ip: 12.35.96.66] on June 12, 2008 08:12 PMI wonder if you can use the Perl/Python API as a way to load config files into a program? I've had config files that started out as .INI files, and had to change to something more complicated as requirments changed. This sounds like a tool that would let one program handle these situations.
#