我已经在现有的 puppet master 上安装了 foreman,foreman-installer
现在可以通过 GUI 登录,通过转到https://xx.xx.xx.xxx:8443/features
列出的页面可以看到智能代理正在运行:
["puppet","puppetca","tftp"]
所以这表明代理正在运行,但是当我尝试将 IP 和端口号添加到工头智能代理页面时,我收到此错误:
Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([SocketError]: getaddrinfo: Name or service not known) for proxy https://xx.xx.xx.xxx:8443/features
Please check the proxy is configured and running on the host.
我在/etc/hosts
文件中的主机条目为 IP 和 FQDN。它也设置在puppet.conf
.
由于工头代理与工头和木偶大师在同一台服务器上运行,因此我在代理设置中启用了 http 连接,现在添加智能代理成功http://localhost:8000
但给出了ERF12-5356 [ProxyAPI::ProxyException]: Unable to get PuppetCA certificates
我还缺少更多设置吗?