Dne St 10. srpna 2011 14:12:48 Jiri Suchomel napsal(a): > Hi! > > I'm trying to parse /etc/ldap.conf using ruby bindings. I do not want to > parse other files, so this is my way to do it: > > aug = Augeas::open(nil, "", Augeas::NO_MODL_AUTOLOAD) > aug.transform(:lens => "Spacevars.lns", :incl => "/etc/ldap.conf") > aug.load
OK, so it's not specific to ruby bindings, this is what I get with augtool: augtool --noautoload augtool> set /augeas/load/Spacevars/lens "Spacevars.lns" augtool> set /augeas/load/Spacevars/incl "/etc/ldap.conf" augtool> load error: Lens not found error: Can not find lens Spacevars.lns spacevars.aug is correctly installed under /usr/share/libaugeas0/augeas/lenses/dist. Loading other lenses works. Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. e-mail: [email protected] Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
