Structured facts
Structured facts take the form of either a hash or an array.
To create a structured fact, return a hash or an array from
the setcode statement.
You can see some relevant examples in the Writing structured facts section of the Custom facts overview.
Facter 4 introduced a new way to aggregate facts using dot notation. For more information, see Writing aggregate resolutions.
Related information