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

Raphaël Pinson raphink at gmail.com
Thu Aug 14 05:58:19 UTC 2008


On Wed, Aug 13, 2008 at 11:24 PM, David Lutterkort <dlutter at redhat.com>wrote:

> 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" }
>


I see. That makes sense, since PHP ignores the sections. It shouldn't be
hard to fix. The trick I used for includedir in mysql.aug could be used to
add entries outside sections here.


Raphael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080814/21565068/attachment.htm>


More information about the augeas-devel mailing list