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
0 answers
36 views

puppetdb does not start on ubuntu 16.04

puppetdb on ubuntu 16.04 does not start, i am not able to find any specific reasons, any ideas anyone? root@pupper-master1:/etc/puppet# dpkg -l | grep puppet ii puppet 4.8.2-...
krisdigitx's user avatar
0 votes
2 answers
2k 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 ...
mr.zog's user avatar
  • 921
2 votes
1 answer
181 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 ...
C.Scharfenberg's user avatar
0 votes
1 answer
844 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 ...
OH MY DEAR PUFFINS's user avatar
1 vote
1 answer
1k 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 ...
wsams's user avatar
  • 121
0 votes
1 answer
916 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....
Philip Kirkbride's user avatar
0 votes
0 answers
552 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 ...
Yaron Idan's user avatar
1 vote
2 answers
329 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 ...
Sebastian's user avatar
1 vote
1 answer
774 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 ...
Skullone's user avatar
  • 195
0 votes
1 answer
55 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 ...
Philip Kirkbride's user avatar
0 votes
2 answers
500 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 ...
Philip Kirkbride's user avatar
2 votes
2 answers
9k 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 ...
Ankh2054's user avatar
  • 1,414
2 votes
2 answers
664 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 ...
lucas's user avatar
  • 200
1 vote
1 answer
190 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=["=", "...
Dima Zyuryaev's user avatar
1 vote
1 answer
429 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:...
Javi's user avatar
  • 11
2 votes
2 answers
842 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 ...
kiuru's user avatar
  • 21
1 vote
1 answer
57 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 (...
Adam Ryczkowski's 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 ...
Kyle Decot's user avatar
5 votes
1 answer
4k 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. ...
Kyle Decot's 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,...
Kiran's user avatar
  • 123
0 votes
1 answer
1k 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/...
GeneBean's user avatar
  • 323
0 votes
1 answer
145 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:/...
user3610701's user avatar
1 vote
1 answer
186 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/...
bhantol's 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 ...
Kai's user avatar
  • 315
4 votes
1 answer
249 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, ...
Progger's user avatar
  • 253
-1 votes
1 answer
144 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 ...
Carl Carlson's 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 ...
atxdba's user avatar
  • 337
2 votes
1 answer
3k 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 ...
ujjain's user avatar
  • 3,983
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. ...
ujjain's user avatar
  • 3,983
1 vote
5 answers
8k 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 =...
Jon Skarpeteig's 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 ...
Oli's user avatar
  • 418
1 vote
1 answer
625 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 ...
raphink's user avatar
  • 12k
0 votes
1 answer
242 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 ...
LRH's 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 ...
Banjer's user avatar
  • 3,984
5 votes
1 answer
5k 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/...
Banjer's user avatar
  • 3,984