On 04/23/2014 03:37 PM, Konstantin Boyanov wrote: > The last notify gives me only: > > Notice: TEST2TEST > Notice: /Stage[main]/Sshkeys/Notify[TEST2TEST]/message: defined > 'message' as 'TEST2TEST' > > which looks like an array flattened to a string to me. Shoud the keys() > function work like this?
Yes, the keys function stores an array in the variable. When used in string context, this just concatenates the array values. The virtue of the hash structure in your $sshkeys value from hiera ist that you can now create_resources('keyentry',$sshkeys) There is really no other convenient way to make use of this data, or structure your data in a way that makes it easy for your manifest to use it. Regards, Felix -- 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/5357C7F6.1030304%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.