Issue #16903 has been updated by Magnus Forsberg.

Andrew, I actually agree. However, if someone wants to go through the time of 
making use of a schema to format the output, I think it's a good feature to 
have. I haven't submitted a pull request, but if someone is interested in 
working on output format you can use 
https://github.com/s0l4r/facter/tree/ticket/master/16903-xml-output as base, it 
just dumps the facts as SimpleXML defaults.

For now we will use JSON outputter.. you can close the ticket if you want :-) 
thanks!
----------------------------------------
Feature #16903: Add support to output as XML
https://projects.puppetlabs.com/issues/16903#change-73184

Author: Magnus Forsberg
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 2.x
Affected Facter version: 


Add support to Facter to output facts as XML:

# facter kernel kernelmajversion --xml
<opt kernel="Linux" kernelmajversion="3.1" />

# facter kernel uptime -x
<opt uptime="1 day" kernel="Linux" />


-- 
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