Hi All;
I am using the PuppetDD 1.3 docs. I am attempting to run the following query:
curl -H 'Accept: application/json' -X GET
http://localhost:8080/v2/resources --data-urlencode query@db_look
Contents of db_look:
["=", "certname", "puppet-satellite"]
However, I get no results with this... I also do not get an errors
I do see this in the log file (as indicated by the docs)
2013-05-24 19:17:26,464 INFO [command-proc-46] [puppetdb.command] [140d6911-3d86-483c-9c00-3e637fc13ea8] [replace catalog] puppet-satellite
But, I am also getting the error....
2013-05-24 19:17:34,325 WARN [qtp17805761-41] [server.AbstractHttpConnection] /v2/resources
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('#' (code 35)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')