Morning all

I'm trying to write a custom function that calls the foreman search 
function 
(https://github.com/ohadlevy/puppet-foreman/blob/master/foreman/lib/puppet/parser/functions/foreman.rb)
 
and then processes the results, before returning itself... 

A code snippet is here: http://pastebin.com/MPf7z0ui. This also includes 
the error being returned by Puppet agent on runtime. 

The notice in my function does print out in the master messages.log, with 
the following content: 
puppet-master[28971]: (Scope(Class[Act::Server::Linux::Db::Oracle])) 
DB_servers looks like: . Nil = false. Class = Hash. Ap = .

However I'm still getting the puppet error when running the agent???

Any ideas greatly received. 

Regards
Gavin 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to