puppetlabs/puppet-acceptance — pull request #511 by jpartlow (2013-08-26 21:10:19+00:00)
Title: (maint) Fix with_puppet_running_on for testing with packages

PuppetAcceptance::DSL::Helpers#with_puppet_running_on had incomplete
changes brought in from the pe Puppet::Acceptance::ConfigUtils, which I
think were being shadowed by the direct inclusion of ConfigUtils in
tests using with_puppet_running_on.

This patch finishes up the with_puppet_running_on implementation and
adds two things. One a :__commandline_args__ option to allow passing of
commandline flags to puppet in addition to configuration settings. And
two, an attempt to ensure that errors raised during setup or execution
of the block are not masked by a failure in teardown.