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. I renamed my file from functions.rb to minute_from_address.rb and it worked immediately. The location of the file, /etc/puppet/modules/ puppet/plugins/puppet/parser/functions/ , was evidently fine the whole time. Ben On Aug 12, 7:58 pm, Allan Marcus <al...@lanl.gov> wrote: > Is there a solution to this? > > --- > Thanks, > > Allan Marcus > 505-667-5666 > > On Aug 5, 2009, at 10:52 PM, Ben Lavender wrote: > > > > > > > Actually, I take that back--it would not appear to be the same issue > > as #2494 at all. > > > I also have the functions file in this directory: > > /etc/puppet/modules/puppet/plugins/puppet/parser/functions/ > > > That should have been loaded as well, according to > >http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions, > > but it was not. I'm starting to worry that I'm missing something > > terribly simple and obvious. > > > Ben > > > On Aug 6, 1:47 am, Ben Lavender <blaven...@gmail.com> wrote: > >> Perhaps this is the same issue, but the workaround does not seem to > >> work. Starting puppetmasterd with --libdir=/var/lib/puppet/lib does > >> not fix the problem. > > >> On Aug 5, 9:13 pm, Larry Ludwig <la...@reductivelabs.com> wrote: > > >>>> Can someone tell me what I'm doing wrong here? According to the > >>>> link > >>>> referenced above, puppet should be picking up functions in these > >>>> directories. Even better, is there an accepted way I can tell > >>>> puppetmasterd to look for functions in a particular place? > > >>> Hi I assumed your issue is related to this? > > >>>http://projects.reductivelabs.com/issues/2494 > > >>> -L > > >>> -- > >>> Larry Ludwig > >>> Reductive Labs --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---