Actions
Bug #9565
openv2 API returning unscaped Quotes on EC2 Nodes
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
When querying fact data from an EC2 node (facter version 2.2.0, puppet version 3.7.1) the fields ec2_metrics_vhostmd, ec2_metadata are returning unescaped quotes in an XML string that is breaking the ability to parson the JSON data.
Here is the bad data that I am getting out http://pastebin.com/6d57MYtV
Here is the query curl -k -u $USER:$PASS -H "Accept: version=2,application/json" https://forman.server.host/api/hosts/${ID}/facts
Actions