On Feb 20, 2011, at 4:33 PM, Markus Roberts wrote:

> 
> 
> On Sun, Feb 20, 2011 at 2:41 PM, Luke Kanies <[email protected]> wrote:
> As I said on the ticket, I don't think this is necessary - all we need to do 
> is add the module lib dirs to Ruby's search path.
> 
> That way any library can be used, rather than having to specifically use any 
> plugin system.
> 
> I just noted this on the ticket (before I got to this thread in my e-mail): 
> $: is global and shared between threads.  I may be missing something, but 
> adding module lib dirs to it seems problematic.

Ruby constants are global, so having a global search path is no more or less 
problematic.

It's pretty clear that Ruby classes -- i.e., anything not a Puppet plugin -- 
won't work well with environments, but that doesn't seem like a good enough 
reason not to fix this bug.

-- 
Love truth, and pardon error.       -- Voltaire
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to