[augeas-devel] problems with Spacevars lens

David Lutterkort lutter at redhat.com
Wed Aug 10 16:35:15 UTC 2011


On Wed, 2011-08-10 at 16:07 +0200, Jiri Suchomel wrote:
> Dne St 10. srpna 2011 15:55:39 Francis Giraldeau napsal(a):
> 
> > There is a gotcha here. Usually, the default, top level lens of a module
> > is by convention "lns". In the case of Spacevars, the top level lens is
> > "lns_simple". Hence, the correct load is this one:
> > 
> > augtool> set /augeas/load/Spacevars/lens "Spacevars.lns_simple"
> 
> It's actually Spacevars.simple_lns, not Spacevars.lns_simple.

That's a nasty gotcha. I just fixed that upstream:

        commit 4840c7ab36fe613b77e6ba146febf9421dfc32a7
        Author: David Lutterkort <lutter at redhat.com>
        Date:   Wed Aug 10 09:33:32 2011 -0700
        
            Spacevars: rename toplevel lens to lns
            
            Leave simple_lns as an alias for backwards compatibility

David





More information about the augeas-devel mailing list