[augeas-devel] Append to the last parameter in multiple entries

David Lutterkort lutter at redhat.com
Thu Jun 17 12:46:35 UTC 2010


Hi Brandon,

sorry for the vacation-induced delay.

On Wed, 2010-05-26 at 16:39 -0400, Brandon Whalen wrote:
> With the latest release to EPEL I'm back trying to use puppet and
> augeas to configure an httpd.conf file. I've found an issue that I
> can't figure out and am hoping you guys can help with. I want to do
> two things:
> 
> 
> 1) Remove any entry directory option that says ExecCGI. That one isn't
> bad.
> 2) Add in a parameter to every directory entry that says -ExecCGI

Augeas doesn't have an API call yet that allows setting multiple nodes
at once; IIRC, the puppet type doesn't have one either, though it would
be fairly easy to add.

I just saw that Frederik Wagner sent some patches for - stay tuned.

David






More information about the augeas-devel mailing list