Oh, right. Martin didn't mention that you should get rid of those defaults, because those don't make any sense.
define keyentry() { $keyname, $key, $keytype, ... } In YAML sshkeys_keys: title1: keyname: <value> key: <value> ... Note that his likely makes your type obsolete. Just do sshkeys: keyname1: ensure: present type: rsa user: <user> key: <key> keyname2: ensure: ... ... Then you can just create_resource("ssh_authorized_key") on this. HTH, Felix On 04/23/2014 03:07 PM, Konstantin Boyanov wrote: > Row 20 in init.pp is exactly this: > > define keyentry() { > $keyname = $title['keyname'] > $key = $title['key'] > $keytype = $title['keytype'] > $keyuser = $title['keyuser'] > $ensure = $title['ensure'] ? { -- 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/5357BC66.5040306%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.