我正在运行Puppet 4.2(主服务器和客户端服务器),从昨天开始运行puppet agent -t
时出现了奇怪的错误。
# puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: execution expired
Info: Retrieving pluginfacts
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': execution expired
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: execution expired
Info: Retrieving plugin
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': execution expired
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: execution expired
Error: Could not retrieve catalog from remote server: execution expired
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: execution expired
我的puppet.conf非常简单:
[main]
certname = mastermachine
[agent]
server = mastermachine
pluginsync = true
runinterval = 300
如果重要的话,我正在运行Arch Linux-arm。
Puppet master已启动并正在侦听其指定端口(8140)。
正如我所提到的,它昨天起作用了。
发生了什么事?
答案 0 :(得分:0)
这对我有用(i686 arch):
mkdir /etc/puppetlabs/code/environments/production/modules