puppetlabs/puppet — pull request #846 by haus (2012-06-11 18:06:15+00:00)
Title: Ticket/3.0rc/14843 add block to self execpipe

Previously the execpipe wrapper in Puppet::Provider only accepted and passed a
block if called from a provider instance, and not the class. This led to
providers failiing with messages of "No block given". This commit brings the
class wrapper in line with the instance wrapper, adding a block to its argument
list and to its Puppet::Util::Execution.execpipe call.
It also adds a single test for the rpm package provider, to verify sanity of
self.instances.