Skip to content

Instantly share code, notes, and snippets.

@zestrada
Created April 24, 2013 04:23
Show Gist options
  • Save zestrada/5449600 to your computer and use it in GitHub Desktop.
Save zestrada/5449600 to your computer and use it in GitHub Desktop.
puppet configuration files with strange error
root@puppet:~# cat /etc/puppet/puppet.conf
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
prerun_command=/etc/puppet/etckeeper-commit-pre
postrun_command=/etc/puppet/etckeeper-commit-post
pluginsync=true
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs = true
storeconfigs_backend = true
root@puppet:~# cat /etc/puppet/puppetdb.conf
[main]
server = puppet
port = 8081
root@puppet:~# cat /etc/puppet/routes.yaml
---
master:
facts:
terminus: puppetdb
cache: yaml
@zestrada
Copy link
Author

The error message on the agent is:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid terminus setting: true on node test.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

@zestrada
Copy link
Author

Leaving this up in case anyone runs across this, but this is an error from when I was testing. storeconfigs_backend should be "= puppetdb"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment