Puppet error on running sudo puppet agent -t

0 votes

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?

Aug 6, 2019 in Puppet by Kiara

1 answer to this question.

0 votes
  • The puppetmaster process is the one attempting to access /etc/puppet/manifests/site.pp. 

  • The correct ownership depends on whether you're running through WEBrick or Apache. 

  • Make sure that the puppetmaster user can access the site.pp file. 

  • Try changing to the puppetmaster user and make sure you can access the file.

  • Also, it could be SELinux causing the access problem, if you're using a RedHat based distro.

answered Aug 6, 2019 by Sirajul
• 59,070 points

Related Questions In Puppet

0 votes
1 answer

What is the use of etckeeper-commit-post and etckeeper-commit-pre on Puppet Agent?

Hey @Pallavi,  etckeeper-commit-post: In this configuration file you can ...READ MORE

answered Feb 15, 2019 in Puppet by Simran
0 votes
1 answer

How do I Install puppet agent on linux?

Install the puppet-agent package on your Puppet agent nodes ...READ MORE

answered Mar 12, 2019 in Puppet by Yesha
0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12, 2019 in Puppet by Jason
0 votes
1 answer

Error: PuppetDB is running but Puppet Master can't reach it.

If PuppetDB is running but the Puppet ...READ MORE

answered Jul 31, 2019 in Puppet by Sirajul
• 59,070 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
1 answer