Issue #18154 has been reported by Josh Cooper.

----------------------------------------
Bug #18154: Master and agent should not share libdir
https://projects.puppetlabs.com/issues/18154

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 3.x
Affected Puppet version: 
Keywords: 
Branch: 


If the agent and master on the same host, then they share the same libdir by 
default. This can have bizarre consequences when environments are used -- The 
agent pluginsyncs, the master reads code from an environment-specific 
modulepath, and the agent writes it into the its libdir. But since the master 
loads code from there also, the code has leaked across environments. 

Having the agent and master share a libdir wasn't always an issue (#2494). But 
it doesn't work when environments are used.  Worse, various code loading bugs 
#4409, #7316, #12173, #13858 have resulted in users copying custom code into 
the master's libdir, so that the master can find/load it.

Really, the agent's libdir is a cache from which it loads code, and should not 
be visible to the master. Either, the master should completely ignore the 
libdir setting, or create two properties for agent vs master libdir.


-- 
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