Skip to content

Feature/facter 2/fact 237 aggregate resolutions#612

Merged
kylog merged 9 commits intopuppetlabs:facter-2from
adrienthebo:feature/facter-2/fact-237-aggregate-resolutions
Jan 27, 2014
Merged

Feature/facter 2/fact 237 aggregate resolutions#612
kylog merged 9 commits intopuppetlabs:facter-2from
adrienthebo:feature/facter-2/fact-237-aggregate-resolutions

Conversation

@adrienthebo
Copy link
Copy Markdown

This defines a mechanism for building resolutions in a piece wise fashion. It does not directly expose aggregate resolutions in the DSL yet but provides the core functionality for creating said resolutions.

This pull request is based on GH-611 and should not be merged before that pull request has been resolved.

The Facter::Util::Resolution class contained behavior for determining if
a resolution was suitable, the precedence of the resolution, code for
safely resolving values, and code for actually resolving information.
This commit breaks up the Resolution class into a Suitable mixin for
determining if a resolution can run and the precedence of that
resolution, and a Resolvable mixin for handling behavior around the
resolution of a given fact.
@puppetcla
Copy link
Copy Markdown

CLA signed by all contributors.

kylog pushed a commit that referenced this pull request Jan 27, 2014
…gregate-resolutions

Feature/facter 2/fact 237 aggregate resolutions
@kylog kylog merged commit 1d97b40 into puppetlabs:facter-2 Jan 27, 2014
@adrienthebo adrienthebo deleted the feature/facter-2/fact-237-aggregate-resolutions branch January 30, 2014 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants