Questions tagged [puppetdb]

PuppetDB is the next-generation performance-centric version of Puppet Stored Configs. PuppetDB manages storage and retrieval of all platform-generated data.

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

puppetdb 6.3.3 can't connect to postgresql-11

semanage confirms my host is running in permissive mode. I can login to postgresql as user puppetdb when I don't use a password like this: [msk@puppet ~]$ su - postgres Password: Last login: Fri ...
user avatar
  • 902
2 votes
1 answer
139 views

puppet code design: how to collect arguments into a string (avoiding possible duplicate declaration errros)

I'm having trouble with puppet (version 5.5) code design. I've written a component module to deal with ucarp. It make use of the module eyp-systemd to register an ucarp service within systemd. Now I ...
user avatar
0 votes
1 answer
717 views

Puppet 6: PuppetDB won't start because of clojure/java errors

I've searched far and wide, and I just simply can't get it to work. I've searched everything I could find which contained "puppetdb", but without success. I have followed the documentation, and I ...
user avatar
1 vote
1 answer
754 views

Puppet caching resources

I'm trying to debug a caching issue with Puppet on RedHat 7. My versions are at the bottom of this question. Below is an excerpt from my site.pp manifest. This is all fine and the Nagios check is ...
user avatar
  • 121
0 votes
1 answer
788 views

Debugging connection between Puppet and PuppetDB (in seperate containers)

Recently the servers hosting our puppet server went down. After redeploying the containers there seems to be an SSL issue. 2018-01-16T14:36:49.770274413Z Caused by: javax.net.ssl....
user avatar
0 votes
0 answers
519 views

puppetdb fails to start with no clear error message

Our puppetdb instance failed after a long time running just fine. After restarting the server and trying to start puppetdb using service puppetdb start We are seeing all the normal output of a ...
user avatar
1 vote
2 answers
274 views

sudden "Could not evaluate: Field 'key' is required" errors when generating exported SSH keys

Without changing anything to the puppet configuration suddenly, some of our hosts started with "Could not evaluate: Field 'key' is required" errors, when creating exported SSH keys but ...
user avatar
1 vote
1 answer
650 views

Connect several puppet masters to one puppetdb

I have installed a puppetdb on one of my puppetmaster and it works. But I'm not able to connect a second one to the puppet master. The command "puppet agent -t" works on my 2nd master. Each master ...
user avatar
  • 195
0 votes
1 answer
52 views

Where is default sql file for PuppetDb?

I'd like to make some slight modifications to PuppetDB (adding a few columns and a table). I've been reading through the source code and I can't seem to find the default structure that is setup on ...
user avatar
0 votes
2 answers
429 views

Use Puppetdb for ENC variable?

I'm reading through the Puppet Documentation on adding a custom fact. Most of the information seems related to making module that runs on the agent. In my case I just want a simple environment ...
user avatar
2 votes
2 answers
8k views

Removing old node from puppetdb

Running Puppet Server open source with Puppet DB 4.8 I recently changed the name of one of my servers and now have two instances of the same machine on puppetdb. I am trying to remove the NODE by ...
user avatar
  • 1,394
2 votes
2 answers
632 views

How do I downgrade puppetdbquery?

I'm getting an error on puppet runs which use puppetdb queries: Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 400 ...
user avatar
  • 200
1 vote
1 answer
176 views

Difference in time stamps via puppetdb query and mysql query

I store reports from nodes in puppetdb. I want to check time when reports received from specific node via the following query: curl -sk http://pdb:8080/v3/reports --data-urlencode 'query=["=", "...
user avatar
1 vote
1 answer
410 views

Generating basic Nagios configuration with Puppet in the wrong side

I have a little problem when I try to integrate Puppet with Nagios. This is my configuration (I know, it's so simple but it's my first try) /etc/puppet/modules/nagios/manifests/init.pp class nagios:...
user avatar
  • 11
2 votes
2 answers
789 views

Puppet storeconfigs confusion

I'm fighting with Puppet storeconfigs of many hours and finally I found one thing which confusing me. I would like to set up storeconfigs, but when I set storeconfigs and storeconfigs_backend values ...
user avatar
  • 21
1 vote
1 answer
51 views

Puppet: Is it possible to supply additional information when realizing an exported resource?

Suppose I want hostB to have a distinct file for each puppet node, but with owner that is only known to the hostB. Theoretically it can be done, if we allow hostB to write a custom fact (...
user avatar
0 votes
1 answer
3k views

Could not find terminus puppetdb for indirection facts

I'm attempting to install PuppetDB but I'm running into an issue when executing puppet -t. I'm getting: Error: Cached facts for puppet.asc.ohio-state.edu failed: Could not find terminus puppetdb for ...
user avatar
5 votes
1 answer
3k views

PuppetDB: unable to get local issuer certificate

I'm attempting to use puppetdb on but I'm running into some issues. I have a node called puppet. It is the master as well as where I've installed puppetdb. It's also a node that puppet manages. ...
user avatar
0 votes
1 answer
3k views

Duplicate declaration: Exec[] is already declared in defined type

Please help me with solution to a problem I was facing , I am trying to install adobe CQ5(author/publish modes) using puppet script. I have defined instance.pp as defined type and passing ( author,...
user avatar
  • 123
0 votes
1 answer
914 views

Generate foreman-installer-answers.yaml

Is there a way to generate a foreman-installer-answers.yaml file from a current setup? After initially installing Foreman I changed a couple of things in the web interface and also used theforeman/...
user avatar
  • 313
0 votes
1 answer
144 views

Confuse in enabling package repository

I am having trouble installing puppetdb so I am back tracking my steps and try to find out my error. So I am to enable puppet package repositories before I install puppetdb shown in this guide. https:/...
user avatar
1 vote
1 answer
175 views

change puppetdb dump location instead of /var/log/puppetdb

I have seen a few hprof dumps of puppetdb indicating crashes. While I investigate that is there a way to configure that dump location to be somewhere else. While I do have space constraints on /var/...
user avatar
  • 113
3 votes
1 answer
14k views

PuppetDB: Connection refused

I'm trying to get PuppetDB to run on my puppetmaster machine. The problem is that I always get the following message when doing an agent run: err: Could not retrieve catalog from remote server: Error ...
user avatar
  • 315
4 votes
1 answer
248 views

Puppet reporting without master

I am planning a Puppet infrastructure for about 100-200 servers. This is the design so far: Stash (git) for storing puppet config (not planning on using a master). Hiera to query either yaml, json, ...
user avatar
  • 253
-1 votes
1 answer
143 views

New puppet master VM counted towards licenses used, old puppet master node made agent no longer responsive

*Using VSphere Client 5.1 Ubuntu precise VM's with Puppet Enterprise 3.3.1 and PostgreSQL 9.3.1 I am utilizing the same postgresql database to manage a new puppet master and I know that the licenses ...
user avatar
1 vote
1 answer
2k views

Configuring puppetdb module in Puppet using Hiera

I'm trying to install the PuppetDB Module. Part of this bundles a module for installing some requisite Postgres instances which I am using as well. We primary use heira to configure roles and set ...
user avatar
  • 317
2 votes
1 answer
2k views

What are storeconfigs in Puppet and what is their purpose?

As far as I understand it, storeconfigs are about storing the client data in the MySQL database. I assume this is the data that is also stored in the .yaml-files in /var/lib/puppet/yaml/node/, that ...
user avatar
  • 3,943
11 votes
1 answer
10k views

Could Puppet-reports be removed once these have been processed by Puppet-dashboard or PuppetDB?

Puppet-reports are using a lot of diskspace in: /var/lib/puppet/reports /var/lib/mysql The assumption is that it stores all reports in the MySQL database, because both paths are about the same size. ...
user avatar
  • 3,943
1 vote
5 answers
7k views

Puppet not applying config but returns without error

Using Puppet 3.2.1 attempting server / client setup, running both on same host. I'm also using puppet-dashboard and puppetdb. My manifest/init.pp: node 'my.fqdn' { file { '/tmp/test': ensure =...
user avatar
0 votes
1 answer
2k views

Puppet inventory service using puppetdb

I have 3 servers set up. A puppet master using passenger (puppet-server1), dashboard using passenger (puppet-server2) and puppetdb (puppet-server3). I cannot get the inventory service working in the ...
user avatar
  • 418
1 vote
1 answer
577 views

SSL issues with puppetdb

I'm setting up Puppetdb with SSL and having issues with certificates. I'm using Nginx as an SSL proxy for Puppet, so my CA is managed by a mongrel server on this Nginx proxy machine. If I generate a ...
user avatar
  • 11.3k
0 votes
1 answer
240 views

Arbitrary software configuration management with Puppet?

I am evaluating Puppet as a potential replacement for an in-house software configuration and distribution system. I am looking for advice on whether Puppet can satisfy certain requirements for ...
user avatar
  • 1
6 votes
4 answers
20k views

PuppetDB: Failed to submit 'replace facts' command

I recently revoked/cleaned a Puppet agent cert, and this seems to have negative effects in PuppetDB. I see a bug has been filed here with some instructions on fixing the issue. A user had a similar ...
user avatar
  • 3,844
5 votes
1 answer
4k views

Manage ssh_known_hosts with puppet

I'm new to Puppet (open source version) and have a relatively straightforward question. When I bring up a new host, I'd like the puppetmaster to add the new host's public rsa key to /etc/ssh/...
user avatar
  • 3,844