try adding this in your template above the call to
scope.function_hiera_array():

<% Puppet::Parser::Functions.function('hiera_array') -%>

On 12-02-09 11:47 PM, Vlad wrote:
> Thanks Nan, I've tried them all (hiera, hiera_array and hiera_hash),
> unfortunately with no luck.
> Like I mentioned above, it doesn't have to be necessarily a hiera hash.
> Even a simple var: name inside the yaml file gives that error. As long
> as you have an array defined as a parameter, together with any type of
> variable from hiera (string, array, or hash), it doesn't work.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/U6a7O_EwdyYJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

-- 
Gabriel Filion

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

Reply via email to