我试着用傀儡戴上,但我遇到了一些问题。
我有一个名为puppet的节点。它是主人,也是我安装木偶的地方。它也是木偶管理的一个节点。
当我在傀儡节点上运行puppet -t时,我得到:
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Could not retrieve facts for puppet.example.com:
Failed to submit 'replace facts' command for puppet.example.com to PuppetDB at
puppet:8081: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed: [unable to get local issuer certificate for
/CN=puppet.example.com]我假设有些东西是错误的,但是我不知道该更改什么或者在哪里查找。
发布于 2017-01-22 09:35:53
看起来PuppetDB (主服务器)上的主机名有问题。确保hostname -f从运行puppet agent的所有节点输出可解析的地址。
从错误日志来看,主机名似乎只是puppet:
Failed to submit 'replace facts' command for puppet.example.com to PuppetDB at
puppet:8081然后移动旧证书
最后,重新启动服务:
service puppetdb restarthttps://serverfault.com/questions/654877
复制相似问题