On Nov 21, 2013, at 8:53 PM, kaustubh chaudhari <[email protected]> wrote:
> Hi, > > How can i export all the facts for all the nodes from puppetdb in cvs/xls > format. > > My objective is to us Business Object or some other tool for creating my > infrastructure reports. > > Can someone help/redirect me to the right documentation? See the documentation here: http://docs.puppetlabs.com/puppetdb/1.5/api/query/v3/facts.html In a nutshell, you can do something like: curl http://localhost:8080/v3/facts ...that will return all the facts for all systems as a JSON object. You can take that and then transform it to CSV using Perl/Python/Ruby/JS or any other language or tool with JSON support. Hope that helps, deepak > > Kaustubh > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/82854235-afb0-471f-ba9b-02589743369b%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0E27E84A-D1D5-41C0-BD65-36525E21EE45%40puppetlabs.com. For more options, visit https://groups.google.com/groups/opt_out.
