From a5e4a2c5e5ea4ed9a43f73efde83b0e000759b08 Mon Sep 17 00:00:00 2001 From: Matti Schneider Date: Tue, 18 Jun 2013 14:10:12 +0200 Subject: Improve Git SSH usage documentation --- README.GIT.markdown | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'README.GIT.markdown') diff --git a/README.GIT.markdown b/README.GIT.markdown index d6b8afe..846bdcc 100644 --- a/README.GIT.markdown +++ b/README.GIT.markdown @@ -76,9 +76,15 @@ Keep the repository at the latest revision (note: this will always overwrite loc For sources that use SSH (eg, `username@server:...`) ---------------------------------------------------- -Manage your SSH keys with Puppet and use `require` in your `vcsrepo` -to ensure they are present. For more information, see the `require` -metaparameter documentation[1]. +If your SSH key is associated with a user, simply fill the `user` parameter to use his keys. + +Example: + + user => 'toto' # will use toto's $HOME/.ssh setup + + +Otherwise, manage your SSH keys with Puppet and use `require` in your `vcsrepo` to ensure they are present. +For more information, see the `require` metaparameter documentation[1]. More Examples ------------- -- cgit v1.2.3