
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
到底是什麼導致了這個錯誤,以及如何修復它?或者說如何調試?
答案1
我終於弄清楚了,它缺少 fileserver.conf 檔案的權限:
將該文件的內容更改為:
[plugins]
allow *.com
重新啟動 puppetmaster 解決了我的問題。
答案2
對我來說,降級客戶端上的因素包解決了這個問題
答案3
當嘗試讓 puppet agent 3.6 與較舊的 puppet 2.7 伺服器一起使用時,@andoni 的答案是正確的。
這就是我在 CentOS 7 上必須做的事情。
yum install -y puppet
rpm -e facter --nodeps
gem install facter -v 1.7.6