Issue #7788 has been updated by Gareth Rushgrove.

Had a brief chat at puppetconf about this, specifically about making it easy to 
package new faces as gems and have them loaded automatically.

I decided to give the patch a whirl and hit a problem, specifically part of the 
implementation is deprecated when running under 1.9.2-p290

`NOTE: Gem.all_load_paths is deprecated with no replacement. It will be removed 
on or after 2011-10-01.`

Looks like Gem::Specification.each might be another approach, depending on 
which version of rubygems you need to support.
----------------------------------------
Feature #7788: Puppet should allow rubygems to deliver new functionality
https://projects.puppetlabs.com/issues/7788

Author: R.I. Pienaar
Status: Code Insufficient
Priority: Normal
Assignee: Nigel Kersten
Category: plug-ins
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: ripienaar/feature/master/7788


It would be desirable to use Rubygems to install things like parser functions. 

There might be cases where you only want a function on the master, pluginsync 
would copy it everywhere and everywhere might not have the dependencies needed 
to run it.

If the autoloader considered the rubygem search path while autoloading this 
should allow gems to extend puppet.


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