On Jul 19, 2010, at 7:52 AM, Klaus Ethgen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Hi,
> 
> Am Sa den 12. Jun 2010 um 10:03 schrieb David Schmitt:
>> You'll need to set a properly unique title, and set the namevar explicitely:
>> 
>> @@sshkey {
>>      "${fqdn}dsa":
>>              name => $fqdn,
>>              ...
>>      "${fqdn}rsa":
>>              name => $fqdn,
>>              ...
>> }
> 
> That idea was pretty good. But then I get the message:
> err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed with 
> error ArgumentError: Cannot alias Sshkey[xxx.yyy.chrsa] to xxx.yyy.ch; 
> resource Sshkey[xxx.yyy.ch] already exists at 
> /etc/puppet/modules/ssh/manifests/init.pp:44 on node xxx.yyy.ch
> 
> So, this approach is a dead end too unfortunately.
> 
> Best regards and many thanks for the idea.

In practice I think you will only need the rsa key.  Try just using rsa (and if 
that doesn't work just dsa) and see if you are able to connect without warnings.

If I remember right, ssh clients usually only use one key, and modern clients 
usually only use rsa keys.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to