Re: [Puppet Users] The Foreman: Query facts from ENC PuppetDB?

Ken Barber
Wed, 28 Aug 2013 04:03:45 -0000

> I''ve been using PuppetDB as an ENC for a while,

So PuppetDB is not an ENC, do you mean Foreman?

> but I haven''t really
> utilized it for stored configs or anything. I was mostly interested in
> replacing Dashboard''s reporting capabilities, but PuppetDB
doesn''t yet do
> anything (that I can see) with reports.

So PuppetDB has experimental report storage:
http://docs.puppetlabs.com/puppetdb/1.4/connect_puppet_master.html#edit-puppetconf

> So I''m currently looking into
> setting up a separate Foreman server.
>
> I saw the script mentioned in the manual that''s meant to be run as
a cron
> job on the master, which should push facts to the Foreman, but is there a
> way to do the reverse, and have the Foreman query the Master or PuppetDB
> directly for facts?

So this is possibly not the correct forum to ask? If you don''t get an
answer, you might want to ask on foreman-users:
https://groups.google.com/forum/#!forum/foreman-users

ken.