title: Error while evaluating a Resource Statement, Unknown resource type: 'vcsrepo'
body: <p>I am deploying my code using puppet. I am trying to clone code from git repo </p>
  
  <pre><code>vcsrepo { "/home/$server_admin/public_html":
          ensure   =&gt; latest,
          owner    =&gt; "$server_admin",
          group    =&gt; "$server_admin",
          provider =&gt; git,
          require  =&gt; [ Package["git"] ],
          source   =&gt; "$server_gitrepo",
          revision =&gt; "$server_gitbranch",
      }
  </code></pre>
  
  <p>when executing script on client machine.</p>
  
  <pre><code>Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'vcsrepo' (file: /etc/puppetlabs/code/environments/production/modules/alpha/manifests/source.pp, line: 32, column: 4) on node
  </code></pre>
  
  <p>Note: git already installed on client machine</p>