On Tue, Aug 14, 2012 at 6:00 PM, Mitchell Hashimoto
<[email protected]> wrote:
> I have a custom Puppet function. Am I able to call that function from within
> my custom provider (written in Ruby)?

I think you can do this:

Puppet::Parser::Functions.autoloader.loadall

After this, you can invoke any function via

self.function_<your_custom_function_name>

Thanks,

Nan

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

Reply via email to