[augeas-devel] case-like solution?

David Lutterkort lutter at redhat.com
Mon Jan 4 22:57:38 UTC 2010


On Tue, 2009-12-29 at 16:15 +0100, Tim Stoop wrote:
> If the RewriteCond line ends in "[OR]", I need the "chain_as" item to
> have the value "or", but if there's nothing at the end of the line, I
> want the chain_as value to be defined as "and". Any hints on how to do
> this?

Giant penny drops ... you want to put a constant value into a tree
node ? I.e., a counterpart to label ? That's easy enough to add. If you
still need it, I can make sure it goes into the next release.

David





More information about the augeas-devel mailing list