title: How to source a file in puppet manifest from module
body: <p>I am trying to source files from local modules in a puppet manifest (using puppet in standalone mode):</p>
  
  <pre class="lang-ruby prettyprint-override"><code>file {
    '/home/repowt/.crontab':
      ensure =&gt; present,
      source =&gt; 'puppet:///modules/site/crontab';
  }
  </code></pre>
  
  <p>but I get:</p>
  
  <pre class="lang-none prettyprint-override"><code>Could not evaluate: Could not retrieve information from source(s) ...
  </code></pre>
  
  <p>The file is in:</p>
  
  <pre class="lang-none prettyprint-override"><code>config/puppet/modules/site/files/crontab
  </code></pre>
  
  <p>(puppet is called via <code>vagrant provision</code> and the Vagrantfile specifies module_path='config/puppet/modules' and is clearly ok since puppet does load modules with import from there.)</p>
  
  <p>I also tried:</p>
  
  <pre class="lang-ruby prettyprint-override"><code>source =&gt; 'puppet:///site/crontab'
  source =&gt; 'site/crontab'
  source =&gt; 'config/puppet/modules/site/files/crontab'
  source =&gt; '/modules/site/crontab'
  </code></pre>
  
  <p>of no avail. I found nothing illuminating on the web, seems like something very simple.
  your help is appreciated.</p>