Closed nikolavp closed 11 years ago
The /usr/share/augeas/lenses/dist
directory is for packaged lenses. Augeas automatically uses /usr/share/augeas/lenses
in addition, which is were manually deployed (or via Puppet/Chef/anything else) lenses should go.
I don't think your error was linked to this. You'd have to paste the contents of /augeas//error
(using augtool
) to make this clearer.
You were right but for some odd reason augeas is checking the other lens too and I have some files which are not properly supported so it is sending error for them :(
Sorry for bothering you
Best, Nikola
No problem.
Set the path of custom lens to "$lens_dest/dist". At least on our ubuntu servers this was needed for augeas to catch it up. Otherwise we are getting
If you want to specify the custom dir with _loadpath on augeas resource then at least document this somewhere. Note that I couldn't test this on redhat based systems and it might differ there.