Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/facter 2/fact 238 extract resolution mixins #611

Merged
merged 2 commits into from Jan 23, 2014
Merged

Feature/facter 2/fact 238 extract resolution mixins #611

merged 2 commits into from Jan 23, 2014

Conversation

adrienthebo
Copy link

This pull request extracts shared behavior for evaluating resolutions into a Resolvable mixin and behavior for determining how suitable a resolution is into a Suitable mixin.

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

CLA signed by all contributors.

kylog pushed a commit that referenced this pull request Jan 23, 2014
…tract-resolution-mixins

Feature/facter 2/fact 238 extract resolution mixins
@kylog kylog merged commit 3b12764 into puppetlabs:facter-2 Jan 23, 2014
@adrienthebo adrienthebo deleted the feature/facter-2/fact-238-extract-resolution-mixins branch January 23, 2014 07:02
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.

None yet

3 participants