[augeas-devel] How to pair keys and values from different lenses?

Raphaël Pinson raphael.pinson at camptocamp.com
Mon Oct 19 15:11:13 UTC 2015


Hello Xavier,


On Mon, Oct 19, 2015 at 3:34 PM, Mol, Xavier (SCC) <xavier.mol at kit.edu>
wrote:

> Hello all,
>
> I'm currently developing a custom lens and I wanted to ask whether and how
> it is possible to combine keys/labels with values from lenses in a
> different scope.
>
> Say we have a line in a configuration file like this:
>
> A B C D
>
> And I want to get an Augeas tree like this:
>
> A = C
> A/B = D
>
>

That is not possible afaik. You will have to design a different tree for
that lens.

Regards,


-- 
Raphaël Pinson
Infrastructure Developer & Training Leader
+33 458 482 013

Camptocamp France
Savoie Technolac
BP 352
48, avenue du Lac du Bourget
73372 Le Bourget du Lac, Cedex
www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20151019/af2e8dbe/attachment.htm>


More information about the augeas-devel mailing list