R.I.Pienaar wrote:
> This allows rubygems to be used to extend or override puppet behavior.
> 
> Unfortunately the features system uses the autoloader so checking for
> the rubygems feature causes a call loop.  It's possible that a more
> elegant way to avoid this exist rather than just checking the @path
> but this did what I needed to do.
> 
> Without caching the directories the tests would take forever to run
> and eventually crash my server.  Caching seems to avoid the biggest
> of the performance hit.
> 
> Signed-off-by: R.I.Pienaar <r...@devco.net>

+1.

I can't comment on the implementation's sanity but the ability to extend
Puppet with gems would be awesome.

Regards

James


-- 
James Turnbull
Puppet Labs
1-503-734-8571

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to