[augeas-devel] sudoers lens not working
David Lutterkort
lutter at redhat.com
Fri Mar 20 18:58:23 UTC 2009
On Fri, 2009-03-20 at 19:46 +0100, Raphaël Pinson wrote:
> Ah, that's one of the syntaxes that made me not want to parse the
> contents of Defaults further down... I had no clear idea of the way to
> properly represent the "+=" in the tree.
The way I did that in the xinetd lens is by creating subnodes to
indicate what kind of operator was there, e.g. so that the following
gets produced:
'var = value' => { "var" = "value" }
'var += value' => { "var" = "value" { "append" } }
'var -= value' => { "var" = "value" { "remove" } }
David
More information about the augeas-devel
mailing list