[augeas-devel] MySQL lens?

Raphaël Pinson raphink at gmail.com
Thu Jul 15 12:45:04 UTC 2010


On Thu, Jul 15, 2010 at 2:34 PM, Tim Stoop <tim.stoop at gmail.com> wrote:

> Hi all,
>
> Has anybody done any work on a MySQL lens? Looks to me like that's a
> simple ini file, right?
>


my.cnf is an inifile indeed, so the easiest way is to derive a lens from
inifile.aug. See php.aug for example.


>
> On a related note, is there a way to allow/create files like
> /etc/mysql/conf.d/mycustomconf.conf, regardless of the name?
>
>
Yes, you'll have to manipulate /augeas/load in order to associate your file
to a lens and then call "load" in order to see your files in the tree.


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20100715/e95f3b15/attachment.htm>


More information about the augeas-devel mailing list