All,

I'm wondering if anyone knows how to force the scope object to pick up
custom functions that have not yet been utilized.

If you run a simple test with a custom function that you don't use
anywhere but in a template, you should see the template hang and/or
fail.

If you use the function elsewhere in your manifest, the template will
function properly.

You can see this in action by outputting
scope.public_methods.sort.join("\n") in an erb file and searching for
your custom function name.

Thanks,

Trevor


-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaug...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to