On Tue, Jul 17, 2012 at 8:34 AM, ZJE <
count...@gmail.com> wrote:
> I'd like to reuse the same ruby code in a type across all the providers. For
> the type I'm writing, a certain portion of the "exists?" method would be
> repeated across all providers. From looking at the documentation,
>
http://docs.puppetlabs.com/guides/custom_types.html, it's not quite clear
> how I can accomplish this. I've looked at writing a function, but that
> seems to be for a larger scope than I'd like (only the providers in that
> module would need this code) and requires a restart of the puppet master.
Look at puppetlabs registry provider[1] for an example where