Request:
curl -X GET http://puppet:8080/pdb/query/v4/resources
curl -X POST http://puppet:8080/pdb/query/v4/resources -H 'Content-Type: application/json' -d '{"query":["and",["=","type","Class"],["=","title","reponame"]]}'
Response:
[]
I wonder why puppetdb querying is not working. Any thoughts?
puppet and puppetdb are in the same server. The puppetdb dashboard comes back ok and the postgres backend setup is done. Puppetdb setup is done using the doc provided in the docs.puppet.com.
↧