Jira (FACT-151) Structured data should be supported
Title: Message Title Claudia Petty updated an issue Facter / FACT-151 Structured data should be supported Change By: Claudia Petty Labels: new-feature redmine Add Comment This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.21401.1387218879000.1949.1687351383090%40Atlassian.JIRA.
Jira (FACT-151) Structured data should be supported
Title: Message Title Kylo Ginsberg commented on an issue Re: Structured data should be supported Yes facter 2.0.1 added structured data support. I'll mark this as a dup of FACT-237 (the structured fact work was actually spread across a couple different tickets, but this was one of the core ones). If there are any follow-on bug or feature requests related to structured facts support they should be submitted as new tickets. Thanks for catching this! Add Comment Facter / FACT-151 Structured data should be supported Facter currently only supports a flat result list, and it should instead support structured data - basically, a hash of hashes and arrays. This should probably be able to be represented in two ways - either a hash of hashes/arrays, or namespaces. That is, this: pre {:top = {:middle = {:bottom = value}}} /pre Could also be represented as: ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the
Jira (FACT-151) Structured data should be supported
Title: Message Title Andy Parker commented on an issue Re: Structured data should be supported Kylo Ginsberg isn't this done now that Facter 2.0.1 is out? Add Comment Facter / FACT-151 Structured data should be supported Facter currently only supports a flat result list, and it should instead support structured data - basically, a hash of hashes and arrays. This should probably be able to be represented in two ways - either a hash of hashes/arrays, or namespaces. That is, this: pre {:top = {:middle = {:bottom = value}}} /pre Could also be represented as: ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-151) Structured data should be supported
Title: Message Title Jason Antman commented on an issue Re: Structured data should be supported Why should this just be a hash? IMO, the expectation from most of us who use Facter mainly through Puppet, is that $::factname should be able to be any puppet data type - string, boolean, hash, array, etc. Add Comment Facter / FACT-151 Structured data should be supported Facter currently only supports a flat result list, and it should instead support structured data - basically, a hash of hashes and arrays. This should probably be able to be represented in two ways - either a hash of hashes/arrays, or namespaces. That is, this: pre {:top = {:middle = {:bottom = value}}} /pre Could also be represented as: ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit
Jira (FACT-151) Structured data should be supported
Title: Message Title Andrew Parker updated an issue Facter / FACT-151 Structured data should be supported Change By: Andrew Parker Assignee: EricSorenson KyloGinsberg Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (FACT-151) Structured data should be supported
Title: Message Title redmine.exporter created an issue Facter / FACT-151 Structured data should be supported Issue Type: New Feature Assignee: Eric Sorenson Created: 16/Dec/13 10:34 AM Labels: redmine Priority: Normal Reporter: redmine.exporter Facter currently only supports a flat result list, and it should instead support structured data - basically, a hash of hashes and arrays. This should probably be able to be represented in two ways - either a hash of hashes/arrays, or namespaces. That is, this: pre {:top = {:middle = {:bottom = value}}} /pre Could also be represented as: pre top::middle::bottom = value /pre We could optionally have a converter that s/::/_/g for backward compatibility, which should be both trivial and unnecessary, but there should definitely be some kind of backward compatibility mode for callers who can't deal with structured data. Add Comment