Hi, While migrating from puppet 5 to 6 (6.20), it was noticed that *puppet cert ca list --all *was deprecated with *puppetserver ca list --all. *When we execute this command we get an error: *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: Name or service not known)* This error indicates that puppet is looking for a host names puppet whereas the puppetserver host alias in /etc/hosts is puppetserver. When we add another alias as puppet to /etc/hosts then this command gets executed successfully. I have 2 queries on this 1. Is there a mechanism to execute this command without modifying /etc/hosts 2. What is the output structure of this command. I need to parse this using a script. In version 5 the format was having a prefix of +, - etc, which does not exists now.
Can you please help me with this. Regards, Kaushal -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ddc0b75e-66e2-4e3d-9cab-821457bc6e4dn%40googlegroups.com.