Hi I want to create parametrized class with hash parameter from hiera .yaml file
so i got hiera.yaml backends: - yaml - json - puppet :hierarchy: - %{host} - common :json: :datadir: /etc/puppet/hiera :yaml: :datadir: /etc/puppet/hiera :puppet: :datasource: data common.yaml --- mailserver: uid: 8 gid: 8 and init.pp class dovecot($mailserver = hiera_hash("mailserver")) { notice("${mailserver[uid]}") notice("${mailserver[gid]}") } i cant get values uid,gid from hash $mailserver how can i do that? or how to better debug why it is not working?? thx in advance for any clues -- 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.