1

我正在运行 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) 上侦听。
正如我所提到的,它昨天奏效了。

发生了什么事?

4

1 回答 1

0

这对我有用(i686 arch):

mkdir /etc/puppetlabs/code/environments/production/modules
于 2016-01-28T18:50:34.930 回答