Home:ALL Converter>VCsrepo specifying ssh key to use

VCsrepo specifying ssh key to use

Ask Time:2014-08-13T01:17:37         Author:maths

Json Formatter

I am trying to write a module in which puppet will be fetching an SVN repo and i want it to use a specific key in order to fetch the repository. How can I specify a ssh key to in SVN VCSrepo?

On the documentation it says we can use vcsrepo for managing ssh keys but there isn't any example for SVN on how to do it at their website

Author:maths,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/25270285/vcsrepo-specifying-ssh-key-to-use
Felix Frank :

Well, it's a little confusing, to be sure. The documentation states\n\n\n When your source uses SSH, such as 'username@server:…', you can manage your SSH keys with Puppet using the require metaparameter in vcsrepo to ensure they are present.\n\n\nThis implies that you manage the key through an independent resource, e.g.\n\nfile { '/home/svn-user/.ssh/id_rsa': ... }\n\n\nAs to your question, the documentation doesn't look very promising, sadly:\n\n\nthere is a ssh_identity feature, but it is only present for the git and hg providers\nfor those providers, you can use the identity parameter to specify your key\n\n\nI'm not sure about the reasoning behind excluding svn from this feature. This seems like a valid question to the puppet-dev mailing list or the #puppet-dev IRC channel on Freenode.",
2014-08-12T17:29:08
yy