Eric, thanks. I've spent most of today trying to get this to work but I have to submit again. I've read the linked docs on variables multiple times. As I understand it, with Puppet you cannot assign top-level variables i.e. starting with $::, these are reserved for facts and other built in Puppet values. So I assign $role = "nameserver" in the role::nameserver class - this works and I get no errors. However no matter what I do hiera doesn't recognise the variable as shown below.
- "%{::environment}/%{::clientcert}" - "%{::clientcert}" - "%{::environment} - "%{role}" - common Any ideas what could be causing this? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.