title: Puppet - Permission denied on site.pp
body: <p>While doing "sudo puppet agent -t" on puppet agent I am getting below error</p>
  
  <pre><code>Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Permission denied - /etc/puppet/manifests/site.pp 
  </code></pre>
  
  <p>As per the error it seems like my site.pp in my puppet master has not been set correctly, but I checked all the permissions but all seems to be good.</p>
  
  <p>Are there other reasons that I could get this error on my puppet agents?</p>