That fixes it! Thanks. In all my debugging I assumed that " can't convert 
Array into String " referred to the hiera variables. And it was about the 
role variable all along. You were right, I had a top scope variable role 
defined in a custom fact, which was also in the hiera hierarchy, and 
another role passed as a parameter to the module. Now I wonder why without 
hiera they can both live together. Probably the hiera call that resides 
inside the module gets the local scope for hierarchy and not the global 
one, so it creates each hierarchical string with an array passed from the 
parameter.
Anyway, thanks for your prompt answer.

-- 
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/-/1RKe1u4HztkJ.
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