So at a high level .... The resources are populated from successful Puppet runs that submit their catalogs to PuppetDB. So step 1, run puppet agent -t or whatever, if you aren't seeing something like this in your puppetdb.log:
2016-05-18 14:12:28,855 INFO [command-proc-3055] [p.p.command] [898d1f2d-f96b-450f-a627-7fb90eb7d491] [replace catalog] macbook-pro-9.lan Then the connection between puppet master & puppetdb is not configured correctly, these instructions cover that: https://docs.puppet.com/puppetdb/4.0/connect_puppet_master.html (adjust for your version of PuppetDB, which looks like its a 2.x to me) You should also check your puppet master logs to see if there are any errors while submitting the catalog. ken. On Wed, May 18, 2016 at 7:21 AM, Harish Kothuri <harishkoth...@gmail.com> wrote: > Hi, > > I am trying to access resources from PuppetDB API as follows, API makes a > successful call but empty response. > > API call: > curl -X GET 'http://sdin-swt-ctf-01:8080/v3/resources/' > > Ouput: > [ ] > > Is there anything that i need to enable to populate the same? > > > Thanks > > -- > 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/ca08dcc7-f58b-462e-b9ab-6c6dd5610fe8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAE4bNT%3D--8V37as-PiLLYuV%2BLu3ZjSJypO-HdSR_pToPAirn4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.