On 15/02/17 10:38, otheus uibk wrote:
> Hi Dom,
>
> The puppet documentation you references is just slight on details (well,
> that could be said about lots of projects these days).
If you're replying to a five year old thread(!), some context would be
handy. For reference:
https://docs.puppet.com/puppet/latest/plugins_in_modules.html
> Does puppet put such lenses in its own directory?
Yes, in the agent's libdir, under augeas/lenses/.
> Does puppet ensure such lenses override the "default" ones mentioned in the augtool
> page?
Yes. The agent directory is specified as an include directory to Augeas,
which always has precedence over Augeas' default directories.
> All that is mentioned is "Facts and Augeas lenses are used solely
> by Puppet agent." But that's not really true of facts, as their
> visibility, once installed, are global.
Custom facts from Puppet are read only when the additional agent
directory is included (i.e. with Facter's -p flag). Lenses work in a
very similar way - they are not installed globally.
--
Dominic Cleal
dom...@cleal.org