This issue got resolved.
Looks like hiera functions created as a softlink under site_ruby.
/opt/puppet/lib/site_ruby/1.8/puppet/parser/functions
total 112
lrwxrwxrwx 1 root root 84 Jun 20 2012 hiera.rb -
On Friday, February 22, 2013 2:03:30 PM UTC-6, Sai_Emc wrote:
Hiera was properly working in my environment. But puppet was looking at
old version even when I have the latest hiera gem installed. So I could'nt
use json backend. But puppet is not looking at my latest hiera gem. Not
sure
Tried /opt/puppet/bin/gem , no use puppet is still failing with errors
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not autoload hiera_include: no such file to load --
/opt/puppet/lib/site_ruby/1.8/puppet/parser/functions/hiera_include.rb at