Puppet 代理不应用来自 PuppetMaster 的更改

Puppet agents aren't applying changes from PuppetMaster

我们在 AWS 中部署了一个 PuppetMaster box,为 AWS 生态系统中的数百个其他服务器提供服务。从昨天开始,我们注意到人偶更改不适用于代理。起初我们以为它只是新配置的盒子,但现在我们发现我们根本没有在运行 Puppet 代理的任何机器上收到任何错误消息。

# puppet agent --test --verbose
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for blarg-follower-0e5385bace7e84fe2
Info: Applying configuration version '1529498155'
Notice: Finished catalog run in 0.24 seconds

我可以访问 PuppetMaster 并验证那里的代码是最新的。需要帮助弄清楚如何更好地注销并调试代理和傀儡大师之间的错误。

在这种情况下,问题是我们的 Puppet Master 的 /etc/puppet/puppet.conf 文件已被修改,实际上代理没有从 Puppet Master 获得完整的目录。我们找到了该文件的备份副本,将其还原,然后我们又恢复了业务。