title: file copy from puppet master to agent fails
body: <p>I am trying to do a simple file copy from puppet master to agent.</p>
  
  <pre><code>  [root@****************** manifests]# cat site.pp
  
      file {'/home/ec2-user/my_bash_script.sh':
      source =&gt; "puppet:///modules/mymodule/my_bash_script.sh",
      mode =&gt; '755',
      }
  </code></pre>
  
  <p>please find the error.</p>
  
  <pre><code> [root@ip-***********/]# puppet agent -t
  Info: Retrieving pluginfacts
  Info: Retrieving plugin
  Info: Loading facts
  Info: Caching catalog for ip-10-20-1-137.dev.uberops.net
  Info: Applying configuration version '1472255014'
  Error: /Stage[main]/Main/File[my_bash_script.sh]: Could not evaluate: 
  Could not retrieve information from environment production source(s)   
  puppet:///modules/mymodule/my_bash_script.sh
  Notice: Finished catalog run in 0.06 seconds
  </code></pre>
  
  <p>Can anyone please tell me what i am missing here.</p>