Jeff, On Tue, Sep 18, 2012 at 10:02 AM, Jeff McCune <j...@puppetlabs.com> wrote:
> On Fri, Sep 14, 2012 at 4:48 PM, Mitchell Hashimoto < > mitchell.hashim...@gmail.com> wrote: > >> Hi, >> >> I'd like to DRY up some of my Puppet lib code and wanted to put helper >> classes in other parts of the "lib/" folder in my plugin. >> > > There are a couple of issues that prevent require from simply working, but > all of them have fairly clean work arounds that are forward-compatible, > meaning as soon as we fix them you won't need to change your code. > > I did a slight refactor of our registry module to employ these work > arounds. Hopefully the change provides a sound example to work from: > > https://github.com/puppetlabs/puppetlabs-registry/pull/18/files#L1R2 > > The issues to work around are #4248, #7788 (Fixed in 3.0.0), and #14149. > Thanks! This looks like basically what I was planning on doing, so it is good to see that this works. Can you expand on how #4248 is worked around by your pull? Best, Mitchell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.