Puppetdb data is all stored in postgresql so you should be able to copy the 
reports table from one server to the other.  For example, run this on your 
prod node.

pg_dump -h puppetdb-dev -U puppetdb -W -d puppetdb -t reports | psql -U 
puppetdb puppetdb

I'm not sure if you need more than just the reports table though.

On Thursday, April 19, 2018 at 7:46:01 AM UTC-4, Thomas Müller wrote:
>
> HI 
>
> I've got some prod puppetserver/puppetdb and some dev 
> puppetserver/puppetdb. But to have the complete overview over all nodes 
> with the prod puppetdb I'd like to import the reports from the dev 
> puppetserver (stored by reports=store config) into the prod puppetdb.
>
> is there some hidden tool to do so? I wasn't able to find anything in that 
> direction. 
>
> Reading 
> https://github.com/puppetlabs/puppetdb/blob/master/puppet/lib/puppet/reports/puppetdb.rb
>  
> this could maybe adapted to read a yaml file and then send it to puppetdb.
>
> - Thomas 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d08210de-d968-49d4-8c85-6f8060aa05c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to