On 04/23/2014 04:14 PM, Konstantin Boyanov wrote: > > create_resources( 'ssh_authorized_key', $sshkeys, $defaults ) > > } > > Fails with: > > Error: Could not retrieve catalog from remote server: Error 400 on > SERVER: Invalid parameter keyuser on node XXXX
That's because you're mixing examples and do create_resources( 'ssh_authorized_key', $sshkeys, $defaults ) instead of create_resources( 'keyentry', $sshkeys, $defaults ) Your data is not suitable for the ssh_authorized_keys type. > Error: Could not retrieve catalog from remote server: Error 400 on > SERVER: Hiera type mismatch: expected Hash and got Array Weird, don't really see what's wrong. Don't use hiera_hash though. To debug your hiera data, you can use $data = hiera(...) $debug = inline_template("<%= @data.inspect %>") notify { $debug: } HTH, 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/5357CD07.8010407%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.