Hello,

I'm writing a custom function - I get no parse errors when i run:

ruby -rpuppet myfunction.rb

...

I've put the function in
<modulepath>/<custommodule>/lib/puppet/parser/functions

and it doesn't work - I get:

err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Unknown function get_vardir at
/var/puppet/environments/development/modules/lanl-baseline/manifests/classes/test_vardir.pp:3
on node g862679yu39.lanl.gov

I tried putting it in $vardir/lib/puppet/parser/functions on the server and
am getting the same error.

(puppet 0.25.1)

Any ideas?

Thanks,
-Roy

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

Reply via email to