puppetlabs/packaging — pull request #315 by haus (2014-07-28 23:06:49+00:00)
Title: (maint) Migrate ex to Pkg::Util::Execution

This PR migrates ex from 00_utils to a new module called
Pkg::Util::Execution. It also adds another method called success?, which
wraps the behavior of $?.success?, with the bonus of being more easily
stubbed/mocked in other tests. Some basic tests are included for ex. The
implementation of ex is moved from %x to `` to enable testability of the
method.