PuppetDB

Hi @all,

I just saw some demos and presentations about PuppetDB and it seem to be a
major performance improvment in larger Puppet installations. Currently I
use a combination of Puppet, Foreman, MySQL, Apache and Passenger. If MySQL
is replaced with PostgreSQL and PuppetDB is connected to PostgreSQL instead
of using the internal one, will Foreman be able to share the database with
PuppetDB as it does it currently with Puppet (i.e. Stored Configs)?

Regards, Thomas

··· -- Linux ... enjoy the ride!

Sadly no, we don't support storeconfig-sharing with PuppetDB. However,
it is worth noting that the dbsharing is entirely optional, and
generally advised against these days.

Your best solution in this scenario is to leave the MySQL db running
for Foreman, and let Puppet use PuppetDB. You'll need to take care of
fact uploads, but since Foreman 1.0 the default ENC script takes care
of that anyway.

Hope that helps.
Greg

··· On 22 January 2013 12:42, Thomas Bendler wrote: > Hi @all, > > I just saw some demos and presentations about PuppetDB and it seem to be a > major performance improvment in larger Puppet installations. Currently I use > a combination of Puppet, Foreman, MySQL, Apache and Passenger. If MySQL is > replaced with PostgreSQL and PuppetDB is connected to PostgreSQL instead of > using the internal one, will Foreman be able to share the database with > PuppetDB as it does it currently with Puppet (i.e. Stored Configs)?

Hi Greg,

> […]
> Your best solution in this scenario is to leave the MySQL db running
> for Foreman, and let Puppet use PuppetDB. You'll need to take care of
> fact uploads, but since Foreman 1.0 the default ENC script takes care
> of that anyway.
> Hope that helps.
>

yes, this helps a lot. Do I understand correctly that the remaining part
for Foreman in the puppet.conf will be:

Report to master Puppet server

report = true
report_server = foreman-server
reports = log,foreman

Manage Puppet nodes configuration with Foreman

external_nodes = /etc/puppet/node.rb
node_terminus = exec

plus the foreman-proxy on the Puppet master as well as the configuration
for PuppetDB?

Regards Thomas

··· 2013/1/22 Greg Sutcliffe -- Linux ... enjoy the ride!