title: How to pull private git repo using chef from gitolite
body: <p>I am new to using chef.
  I am able to clone/pull a github repository using the following code on my recipe</p>
  
  <pre><code>git "/var/www/hello_app" do
    repository "git://github.com/MyUser/MyProject.git"
    reference "master"
    action "sync"
    user "gituser"
  end
  </code></pre>
  
  <p>I am trying to pull/clone my files from a private git repository managed my gitolite which means that authentication relies on sshd. 
  I already have my id_rsa private key installed through a data_bag on gituser's .ssh/id_rsa file , the user who is pulling/cloning the private repo. Pulling/cloning the repository manually works.</p>
  
  <p>The command I execute is </p>
  
  <pre><code>git clone gitoliteuser@myserver:MyProject.gr
  </code></pre>
  
  <p>How should I modify my recipe so I can pull my private repository ?</p>