Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created April 29, 2014 14:31
Show Gist options
  • Save kbarber/11402124 to your computer and use it in GitHub Desktop.
Save kbarber/11402124 to your computer and use it in GitHub Desktop.
root@puppetdb1:~# curl 'http://localhost:8080/v3/reports?query=\["=","certname","puppetdb1.vm"\]'
[ {
"end-time" : "2014-04-27T02:11:11.071Z",
"certname" : "puppetdb1.vm",
"hash" : "6b5d999e5f8d24e28f192b06678af01f231d32de",
"report-format" : 4,
"start-time" : "2014-04-27T02:11:10.564Z",
"puppet-version" : "3.5.0-rc2",
"configuration-version" : "1398361105",
"transaction-uuid" : "6ca7f76d-1f8c-4c53-8d00-4c4fdd3480ca",
"receive-time" : "2014-04-27T02:11:12.399Z"
}, {
"end-time" : "2014-04-27T02:10:51.971Z",
"certname" : "puppetdb1.vm",
"hash" : "ba58c7c64fb3c31f9c1bf7eca49d3e26e7e48d8c",
"report-format" : 4,
"start-time" : "2014-04-27T02:10:51.472Z",
"puppet-version" : "3.5.0-rc2",
"configuration-version" : "1398361105",
"transaction-uuid" : "95c8a6fd-d41a-4740-89d8-278a8f8d29f0",
"receive-time" : "2014-04-27T02:10:53.292Z"
}, {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment