On running the command:
 sudo puppet agent -t
I got the following error
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Permission denied - /etc/puppet/manifests/site.pp 
I checked all the permissions and all are correctly given. Why i am getting this error?