puppetlabs/facter — pull request #590 by adrienthebo (2013-12-31 17:45:34+00:00)
Title: Extract Facter execution methods to mixin

The command execution methods in Facter::Util::Resolution were
cluttering up the class and breaking the single responsbility principle.
Leaving them around increases the complexity of refactoring the
Resolution class.

This commit extracts methods related to command execution to a mixin and
extends the Resolution class with the mixin to maintain compatibility.
In the long term we should deprecate the compatibility methods.