On 06/11/2016 07:35 PM, Zeke Dehnert wrote:

There was a puppetdb.conf file in the /etc/puppetlabs/puppet directory, but I moved it out, restarted puppet server and I’m still getting errors:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to execute '/pdb/cmd/v1?checksum=2e834ba5e4cdeae4ab27b04da26fa8c52cfbcfca&version=4&certname=it-lnx-01.enphaseenergy.com&command=replace_facts' on at least 1 of the following 'server_urls': https://puppetdb:8081

This is the configuration file for the puppetdb terminus, and puppet server uses it to find puppetdb. Without the file, the hostname "puppetdb" is assumed, hence the error you see. You need to configure it like this:

https://docs.puppet.com/puppetdb/latest/connect_puppet_master.html#edit-puppetdbconf

Wyatt

--
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/94771c47-e936-2c36-c746-4a14dfd6437a%40puppet.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to