module RFacter::DSL::Facter::Core

Facter::Core DSL methods

Constants

Aggregate

Aggregates provide a mechanism for facts to be resolved in multiple steps.

Aggregates are evaluated in two parts: generating individual chunks and then aggregating all chunks together. Each chunk is a block of code that generates a value, and may depend on other chunks when it runs. After all chunks have been evaluated they are passed to the aggregate block as `Hash<name, result>`. The aggregate block converts the individual chunks into a single value that is returned as the final value of the aggregate.

@api private @since 0.1.0