puppetlabs/puppet — pull request #596 by domcleal (2012-03-24 16:27:31+00:00)
Title: (#13379) Add path of pluginsync'd lenses to Augeas load_path automatically

This includes a cherry picked commit from master/Telly (part of issue 7285) that adds extra examples for the initialisation routine, which I then built on to test this new change.

The only point I wanted to confirm was which Puppet setting was correct to use for the path. I settled for using Puppet[:libdir] which should be equivalent to Puppet[:plugindest], based on the --genconfig comments. Other uses seem to prefer :libdir too.