Sam Morrison
2011-Oct-12 01:39 UTC
[Puppet Users] Could not evaluate: Field ''key'' is required when exporting ssh_authorized_keys
I seem to have a weird error when trying to collect ssh keys and installing them on our backup server. On all hosts I have: @@ssh_authorized_key { "root@$fqdn": type => ssh-rsa, key => $rootsshkey, tag => ''host'', user => backups, } Then on my backup server I have: Ssh_authorized_key <<| tag == ''host'' |>> When running puppet on the backup server I get a whole lot of: notice: /Stage[main]/Backup/Ssh_authorized_key[root@example.org]/ensure: created err: /Stage[main]/Backup/Ssh_authorized_key[root@example.org]: Could not evaluate: Field ''key'' is required Upon subsequent puppet runs it will work eventually until all the keys are installed. It seems to work for 1-7 keys at a time then fail for the rest. The amount of broken ones gets smaller and smaller each time. Any clues? Cheers, Sam -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/zTztpiZmBzcJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.