3

我在我的 puppet 架构中使用 SRV 解决方案。尝试设置新的 puppet master 和 CA 并查看我的证书时,出现此错误:

puppetserver ca list --all
Fatal error when running action 'list'
  Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key
  Root cause: Failed to open TCP connection to puppet:8140 (getaddrinfo: No address associated with hostname)

我的 puppet.conf 文件具有以下配置:

   use_srv_records = true
   srv_domain = mypuppetrecord.com

我错过了什么?

4

1 回答 1

4

I managed to find the solution here. I needed to add to my /etc/hosts file the following:

xxx.xx.xx.xx (IP of the host) puppet

于 2019-10-24T11:32:25.787 回答