[augeas-devel] [PATCH 1 of 7] Adapt php.aug to support entries outside of sections and still map sections as labels (Fix #9)

David Lutterkort dlutter at redhat.com
Fri Aug 15 00:31:13 UTC 2008


On Thu, 2008-08-14 at 17:52 +0200, Raphael Pinson wrote:
>     test PHP.lns get conf = 
> +      {}
> +      { "safe_mode" = "Off" }
>        { "section" = "PHP"
>           { "#comment" = "Enable the PHP scripting language engine under Apache." }
>  	 { "engine"  = "On" }

As I said in another email, I would prefer it if we would put entries
that are outside of the first section into a separate node, so that all
entries are at the same depth of the tree. With that, you cna find
safe_mode with

        match /files/etc/php.ini/*/safe_mode
        
Otherwise, the path is either /files/etc/php.ini/safe_mode
or /files/etc/php.ini/*/safe_mode, depending on whether it is inside or
outside of a section.

David





More information about the augeas-devel mailing list