我让 Puppet Master 运行了相当长一段时间。最近重新启动该进程后,我开始收到以下信息:
# puppet agent -t
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/mountpoints.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
info: Loading facts in /var/lib/puppet/lib/facter/disks.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `empty_answer' for Hiera::Backend:Module at /etc/puppet/environments/production/modules/sshauthkeys/manifests/helper.pp:2
如果我跑
hiera -c /etc/puppet/hiera.yaml <key>
它按预期工作。知道这可能是什么吗?
我正在运行 puppet 2.7、hiera 1.2.1 和 hiera-puppet 1.0.0
亲切的问候,
克里斯蒂安