Hi, Is it possible to have an array in hiera (or puppet) and use it in hiera?
For example: clients: - client1 - client2 Then, nginx::nginx_vhosts: "%{hiera('clients')}": ensure: present It would be the equivalent of having: nginx::nginx_vhosts: 'client1': ensure: present nginx::nginx_vhosts: 'client2': ensure: present In this article (https://blog.serverdensity.com/deploying-nginx-with-puppet/), they declare a variable (vdomain) and then use it, but I tried with an array and it doesn't work. Thanks, -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b3d1e411-5d58-4e16-b92e-d4a0d75aaf73%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.