[Puppet Users] Re: Puppet cannot find custom functions

2009-09-15 Thread James Turnbull
2009/9/15 Ben Lavender : > > 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

[Puppet Users] Re: Puppet cannot find custom functions

2009-09-15 Thread Ohad Levy
On 9/15/09, Ben Lavender wrote: > > > I renamed my file from functions.rb to minute_from_address.rb and it Like a function that converts your ip address into a "random" value? see http://reductivelabs.com/trac/puppet/wiki/Recipes/cron in the Setting Cron using a Puppet custom function :) Ohad

[Puppet Users] Re: Puppet cannot find custom functions

2009-09-15 Thread Ben Lavender
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 m

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-12 Thread Allan Marcus
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/p

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread Ben Lavender
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/Writing

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread S H
On Wed, Aug 5, 2009 at 5:26 PM, S H wrote: > On Wed, Aug 5, 2009 at 12:47 PM, Ben Lavender 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. > > > Silly question, but

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread S H
On Wed, Aug 5, 2009 at 12:47 PM, Ben Lavender 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. Silly question, but this bit me: are you running both puppetmaster and clien

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread Ben Lavender
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 wrote: > > Can someone tell me what I'm doing wrong here?  According to the link > > referenced above, pup

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread Larry Ludwig
> > > 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 r