Working with chef the last few days, I have run into situations where augeas
seems like the right answer, but it’s not supported currently.
Augeas lets you modify config files in-place without over-writing the whole
thing.
The reason it seems preferable, is that if I am facing time constraints and I
am writing recipes quickly, the chef-way of doing things would require me to
clobber the whole config file and manage the whole config file. The
problem with that, is I really want to understand what I am doing before I take
such a major step as to manage an entire file. It is somehow safer and more
minimalistic to say “I will tweak one little setting with augeas, and leave the
rest of the file as it is, at least for the time being.” Maybe eventually I
can go back and manage the whole file, on multiple linux distros, but that
requires more research and time, to be sure I have the right file, all the
right settings, across all platforms.
Maybe I still need to be indoctrinated into the chef way of doing things, and
why its preferable. I could be converted. In the mean time, I wish there
was Augeas. Can someone please add it.