Skip to content

Instantly share code, notes, and snippets.

@wkalt
Created August 18, 2014 19:25
Show Gist options
  • Save wkalt/76a62e4c4db1d26b1eef to your computer and use it in GitHub Desktop.
Save wkalt/76a62e4c4db1d26b1eef to your computer and use it in GitHub Desktop.
curl -X GET http://localhost:8080/v4/fact-nodes --data-urlencode 'query=["=",["name","certname"],["trusted","mbp.local"]]'
[ {
"certname" : "mbp.local",
"path" : [ "trusted", "certname" ],
"name" : "trusted",
"value" : "mbp.local",
"environment" : "production"
}, {
"certname" : "mbp.local",
"path" : [ "trusted", "authenticated" ],
"name" : "trusted",
"value" : "remote",
"environment" : "production"
} ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment