Issue #5193 has been updated by John Vincent.

Just put in a pull request on github. I wrapped the require in a LoadError 
rescue for systems where JSON isn't installed so it would exit cleanly. FYI, I 
didn't see any test cases for facter YAML output so I didn't write any for 
JSON. If I missed them, let me know and I'll add it.

I didn't do any major formatting of the data at this point. It looked good and 
parsed cleanly in a cursory test.
----------------------------------------
Feature #5193: Facter should output in JSON
https://projects.puppetlabs.com/issues/5193

Author: James Turnbull
Status: Unreviewed
Priority: Normal
Assignee: 
Category: library
Target version: 
Keywords: JSON
Branch: 


Currently Facter outputs in plain text and YAML format.  We should add JSON 
output.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to