Issue #5009 has been updated by Pedro CĂ´rte-Real.

Just hit this today trying to create a /etc/ssh/ssh_known_hosts with all my 
machines. The default openssh behavior at least in Ubuntu/Debian is to 
configure servers with 3 host keys (rsa, dsa, ecdsa) so this isn't exactly 
uncommon.

----------------------------------------
Bug #5009: sshkey resource uses name as the unique id
https://projects.puppetlabs.com/issues/5009#change-91912

* Author: Bruce Richardson
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
It is possible for an sshd server to have two types of ssh keys but the sshkey 
resource uses the name parameter, which corresponds to the hostname, as the 
unique identifier.  This makes it impossible to create resources for both types 
of key for any one host.

Well, ok, you could do it by setting 'name => "$type-$key"' and adding the real 
name to the aliases but that's fugly and could break.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to