HI,
I've foudn that the problem is where the functions are saved:
/opt/puppetlabs/puppet/cache/lib/puppet/parser/functions/ vs /opt/puppetlabs/puppet/cache/lib/puppet/functions/
If I put the functions in the first path , it works. Otherwise I see the error mentioned in the first post.
I see functions in both paths, so I wonder why the functions from the second are not collected.
# puppet agent --configprint libdir
/opt/puppetlabs/puppet/cache/lib
# rpm -qa|grep puppet
puppet-agent-5.5.17-1.el7.x86_64
Any idea?
TIA,
Arnau