Issue #13379 has been updated by Dominic Cleal.

Nan Liu wrote:
> ${settings:vardir} is the server's vardir and we need the agent's vardir, 
> which are often the same, but could be different. This feels more appropriate 
> to have a module with  custom fact retrieving the appropriate agent setting 
> and using it catalog wide via resource defaults.

I agree that ${settings:vardir} is wrong, but if we implement it in the 
provider then the code's already running on the client so it can retrieve the 
local agent's "plugindest" setting.
----------------------------------------
Feature #13379: Add path of pluginsync'd lenses to Augeas load_path 
automatically
https://projects.puppetlabs.com/issues/13379#change-58304

Author: Dominic Cleal
Status: Unreviewed
Priority: Normal
Assignee: 
Category: augeas
Target version: 
Affected Puppet version: 2.7.12
Keywords: augeas pluginsync modules
Branch: 


As described here, pluginsync can be used to push out Augeas lenses: 
[Distributing Augeas lenses with Puppet's 
pluginsync](http://bombasticmonkey.com/2011/01/02/distributing-augeas-lenses-with-pluginsync/)

The augeas provider should automatically add the client's pluginsync path to 
the Augeas load_path list so that it picks up distributed lenses.  The 
lib/augeas/lenses module subdirectory suggested by Tim above seems sensible.  
The load errors are no longer an issue as #4135 has been fixed.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to