PuppetDB Parse Errror

557 views
Skip to first unread message

panagiwtis panagiwtopoulos

unread,
Apr 20, 2015, 6:39:22 AM4/20/15
to puppet...@googlegroups.com
Hello 

I am trying to install puppetdb at debian jessie with the following packages installed:

puppet                               3.7.2-4
puppetdb                           2.3.3-1puppetlabs1
puppetdb-terminus             2.3.3-1puppetlabs1

I create the puppetdb.conf file at the conf directory with the following:

[main]
port = 8081

But when I am trying to start the puppetdb I get:

com.typesafe.config.ConfigException$Parse: /etc/puppetdb/conf.d/puppetdb.conf: 2: Document has trailing tokens after first object or array: 'server'

Any help?

Ken Barber

unread,
Apr 20, 2015, 6:47:13 AM4/20/15
to Puppet Users
Your 'puppetdb.conf' belongs in /etc/puppet/puppetdb.conf, not
/etc/puppetdb/conf.d/puppetdb.conf ... this configuration fails is
used by the Puppet Master plugin (thats what the puppetdb-terminus
package delivers). It informs the master how to communicate with the
service, so its configuration file lives alongside the puppet/master
configuration files.

ken.
Reply all
Reply to author
Forward
0 new messages