Hi all,
sorry to bother, I should probably search around better but I'm quite 
confident that I can find here a quick solution.

I've this issue: https://github.com/example42/puppi/issues/123 in a 
function which tries to use the hiera function as follows:

value = function_hiera(["#{module_name}_#{var_name}", ''])

The error message comes from the 3.x API  hiera class in lib
/parser/functions/

Error: Evaluation Error: Error while evaluating a Function Call, hiera() has 
been converted to 4x API


Wha's the syntax to use an API4 function inside a function?
Maybe should I move the function in my module from 
lib/puppet/parser/functions to lib/puppet/functions and edit something?
Thanks * for any help
al

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/d6e542ff-854f-4b46-a568-96f418586af5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to