On Fri, 2011-07-29 at 17:35 -0700, Alex Cruise wrote:
> Hey folks,
> 
> I noticed today that MySQL has gained the ability to declaratively include
> config files from a ".d" directory, and current Ubuntu Server uses it.  But
> AFAICT the Augeas mysql lens, rather than mapping the include directive into
> the Augeas namespace, just lists the directory where the included files
> typically live.  While this will work, it makes it slightly tricky to detect
> that we should be looking in the ".d" directory too.

Unfortunately, there's no way to tell Augeas to look at certain entries
in the tree right now, and then load files mentioned there. Would be a
nice addition though ;)

> I guess if there were a way to query which files some particular lens had
> found, that would be sufficient.. Hmm. :)

You can do that with

        match /augeas/files//*[lens = "@Shellvars" or lens = "Shellvars.lns"]

David

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to