Ask Your Question
1

puppetdb dependency

asked 2013-09-11 13:04:58 -0500

lorcutt gravatar image

My puppetdb was down and agent runs were failing. Is there anyway to configure the master so that the run will continue in this case?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-09-12 04:00:03 -0500

We (as in the PuppetDB dev team) have added an option to the terminus that will at least provide a soft-failure on command submission, but will still fail normally upon trying to collect or query PuppetDB:

https://github.com/puppetlabs/puppetdb/commit/78e073e31ec7f293711b86251612a3c2b35b3ef3 http://projects.puppetlabs.com/issues/21520

The way you turn it on, is to add the option soft_write_failure to your /etc/puppetlabs/puppet/puppetdb.conf file on your puppet master. For example:

[main]
server = puppetdb
port = 8081
soft_write_failure = true

When switched on, if any command submissions are attempted and fail, compilation will still continue with an error ... (more)

edit flag offensive delete link more
0

answered 2013-09-12 00:53:18 -0500

golja gravatar image

If you decided that your puppet master needs puppetDB to scale your nodes request then I guess you will need to make sure that the service is running. It's a crucial component like a messaging service for MCollective.

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

2 followers

Stats

Asked: 2013-09-11 13:04:58 -0500

Seen: 319 times

Last updated: Sep 12 '13