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.

PuppetDB is a Puppet data warehouse; it manages storage and retrieval of all platform-generated data. Currently, it stores catalogs and facts; in future releases, it will expand to include more data, like reports.

35 questions
1
vote
1 answer

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::server { package { ["nagios"]: ensure =>…
Javi
  • 11
  • 2
1
vote
1 answer

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 (my_special_owner), and then read that fact via query_facts…
Adam Ryczkowski
  • 720
  • 1
  • 9
  • 29
1
vote
1 answer

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/log - I don't want to just increase the /var/log…
bhantol
  • 113
  • 4
1
vote
1 answer

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 various properties. I have the configuration far…
atxdba
  • 337
  • 1
  • 5
  • 15
1
vote
5 answers

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 => present } Running puppet agent --test --server…
Jon Skarpeteig
  • 951
  • 2
  • 14
  • 29
1
vote
1 answer

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 certificate for my Puppetdb URI using the CA on…
raphink
  • 11,987
  • 6
  • 37
  • 48
0
votes
2 answers

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 Jun 21 14:19:01 EDT 2019 on pts/1 bash-4.2$ psql…
mr.zog
  • 923
  • 3
  • 20
  • 39
0
votes
1 answer

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 started writing a quick step to step guide for our…
0
votes
1 answer

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.SSLHandshakeException: General SSLEngine…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
0
votes
0 answers

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 successful db bootstrap yet the service stays in a not…
Yaron Idan
  • 187
  • 1
  • 6
0
votes
1 answer

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 PuppetDb's initial install. I need to modify the…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
0
votes
2 answers

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 variable that I could set from the master for each…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
0
votes
1 answer

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 indirection facts I've installed the…
Kyle Decot
  • 311
  • 1
  • 6
  • 13
0
votes
1 answer

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,publish) parameters in manifest file. But I am…
Kiran
  • 123
  • 2
  • 5
0
votes
1 answer

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/puppet and puppetlabs/puppetdb to customize my…
GeneBean
  • 323
  • 1
  • 4
  • 11