Puppet Error: Failure during provision command during the puppet agent run on replica 2: Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error:

0 votes
Failure during provision command during the puppet agent run on replica 2: 
Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error: 
Not authorized to call search on /file_metadata/pe_modules with {:rest=>"pe_modules", :links=>"manage", :recurse=>true, :source_permissions=>"ignore", :checksum_type=>"md5"} Source: /Stage[main]/Puppet_enterprise::Profile::Primary_master_replica/File[/opt/puppetlabs/server/share/installer/modules]File: /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/profile/primary_master_replica.ppLine: 64

While provisioning replica to serve as backup I am geting this error. How do i resolve it?

Aug 1 in Puppet by liana
41 views

1 answer to this question.

0 votes
  • The provision command triggers an error if you try to provision a replica node that's connected to a compiler. 

  • The error that you have got is similar to the error that the provision command triggers.

In order to resolve this:

  • On the replica you want to provision, edit /etc/puppetlabs/puppet.conf so that the server and server_list settings use a master, rather than a compiler.

This should help!

answered Aug 1 by Sirajul
• 31,180 points

Related Questions In Puppet

0 votes
1 answer

Docker with Puppet: How do i run the following command "docker build -t ubuntu /tmp/ubuntu_image" using puppet code?

 Hey @Liana, Including the docker_dir parameter is equivalent to ...READ MORE

answered Aug 16 in Puppet by Sirajul
• 31,180 points
25 views
0 votes
1 answer

Error: Puppet not found, when trying to run puppet config command.

This is because you have not added ...READ MORE

answered Sep 18 in Puppet by Sirajul
• 31,180 points
23 views
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 26, 2018 in Puppet by shubham
• 6,890 points
319 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
181 views
0 votes
1 answer