Ask Your Question
1

puppetdb exception: "Required setting 'vardir' is not specified"

asked 2014-02-09 15:35:07 -0500

Adam Ryczkowski gravatar image

I try to deploy puppetmaster with stored configs on Ubuntu 13.10 LXC virtual server.

After successful installation of puppet 3.4.2, I have tried to install the puppetdb with /etc/puppet/tmp.pp:

node puppetmaster {
  class { 'puppetdb': }
  class { 'puppetdb::master::config': }
}

and the following steps

  1. puppet module install puppetlabs/puppetdb
  2. puppet apply tmp.pp

The last step failed, because puppet could not connect with the puppetdb service. Indeed, the service is down; when running it interactively with puppetdb foreground --debug, I've got the following error:

2014-02-09 21:28:55,355 INFO  [puppetlabs.jetty] Removing buggy security provider ...
(more)
edit retag flag offensive close merge delete

Comments

So thats not really an error. Its just an INFO declaration. Is there something more in your puppetdb.log? This problem sounds like something more suited to the puppet-users list ...(more)

ken gravatar imageken ( 2014-02-10 07:40:43 -0500 )edit

@ken I've found the problem. It was caused by partially deleted configuration. Re-installing puppet from scratch helped to solve it.

Adam Ryczkowski gravatar imageAdam Ryczkowski ( 2014-02-10 12:48:26 -0500 )edit

Oh good to hear.

ken gravatar imageken ( 2014-02-10 13:14:13 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-02-10 12:49:18 -0500

Adam Ryczkowski gravatar image

The problem was indeed caused by missing vardir variable in puppetdb.conf. It was caused by partially deleted configuration. Re-installing puppet from scratch solved it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-02-09 15:35:07 -0500

Seen: 87 times

Last updated: Feb 10 '14