2009/9/15 Ben Lavender <blaven...@gmail.com>:
>
> Just so that it gets onto the mailing list for the next poor guy
> searching for this:
>
> Functions need to be in a file of the same name, it would appear.  I
> can find nothing in the wiki that mentions this specifically, but
> perhaps I did not look hard enough.

It's in:

http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions

"The name of the file you put your function into must be the same as
the name of function, otherwise it won't get automatically loaded.
This ''will'' bite you some day."

Regards

James Turnbull

-- 
Author of:
* Pro Linux Systems Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)

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

Reply via email to