[augeas-devel] [PATCH 0 of 5] Use #comment in inifile.aug to map comments

David Lutterkort dlutter at redhat.com
Wed Aug 13 21:24:01 UTC 2008


On Wed, 2008-08-13 at 22:31 +0200, Raphaël Pinson wrote:


> I think actually that we couldn't predict the keys anyway, since PHP
> modules add more keys to php.ini, so it's better this way in any case.
> I chose to keep the sections, although I have confirmed by that they
> are ignored by PHP. I believe the users still want to choose in what
> section they put their settings, even if PHP doesn't use these
> sections.

I just ran into an issue with the PHP lens: on my RHEL5 machine, there
are files /etc/php.d/* that don't have any section titles, and therefore
won't get processed by the php lens. IOW, this test would have to
succeed to accomodate them:

            test PHP.lns get "\nextension = mysql.so\n" = { "extension" = "mysql.so" }
        
David






More information about the augeas-devel mailing list