Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/plugins with {:ignore=>[".svn", "CVS", ".git"], :recurse=>true, :checksum_type=>"md5", :links=>"manage"}

err: /File[/var/lib/puppet/lib]: Could not evaluate: Error 400 on SERVER: Not authorized to call find on /file_metadata/plugins Could not retrieve file metadata for puppet://example.com/plugins: Error 400 on SERVER: Not authorized to call find on /file_metadata/plugins

What exactly causes this error, and how to fix it? Or how to debug?

share|improve this question
2  
Just in case it helps someone in the future: I had the same problem, and for me it was due to the version of puppet on the master being behind the version on the client. –  Jeremy Apr 4 at 2:25

2 Answers 2

up vote 2 down vote accepted

I finally figured this out, it was missing permissions from the fileserver.conf file:

Changing the contents of this file to:

[plugins]
  allow *.com

And restarting puppetmaster fixed my issue.

share|improve this answer

For me downgrading facter package on the client fixed the issue

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.