title: puppet file resource, how to point to source
body: <p>When referring to a file resource on the puppet master, does it have to reside under the modulepath?  The docs <a href="https://docs.puppetlabs.com/references/latest/type.html#file-attribute-source" rel="nofollow">here</a> seem to indicate it.</p>
  
  <p>The file I'm using was put under the <code>profiles</code> folder instead.  I'm trying to refer to it like this:</p>
  
  <pre><code>source  =&gt;  puppet:///profiles/a_subfolder/myfile
  </code></pre>
  
  <p>(The physical path on the box is <code>/profiles/files/a_subfolder/myfile</code>)</p>
  
  <p>I'm not having any luck so far and wanted to confirm that I can point a file resource somewhere besides the modulepath, and that my URI is correct.</p>
  
  <p>Also, if my subfolder doesn't exist yet on the puppet agent, do I need to set some extra flags to both create the folder path and put the file in place? Here's what I have now:</p>
  
  <pre><code>    ensure  =&gt;  'present',
      source  =&gt;  'puppet:///profiles/a_subfolder/myfile',
      mode    =&gt;  '0755',
      owner   =&gt;  'specialuser'
  </code></pre>