Thanks Gary and Lelutin. 

Gary: That was the first thing I tried, and no luck there either. I even 
took out the template out of the equation and called a simple variable like:
common.yaml:

> *---
> **test: testvar*

 

> *class test ($role) {*

*$ips = hiera('test')
> **notify {"${ips}:}* 

} 

No success here either. If I get rid of the $role parameter, it simply 
works. If I get rid of the hiera lookup, and keep only the role (notify 
{"${role}":}), it works. But not together.

Lelutin: I just tested your suggestion but it still doesn't work. I forgot 
to mention that I have hiera and hiera-puppet gems (0.3.0) plus a checkout 
of hiera-puppet inside my modules folder. And yes all functions are 
pluginsynced across all agents.

-- 
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/-/CyfwbFo1lMYJ.
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