HomePhorge

(#14843, #14844) Add block to Puppet::Provider.execpipe
708e15ac1256Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#14843, #14844) Add block to Puppet::Provider.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.

Details

Event Timeline

Matthaus Litteken <matthaus@puppetlabs.com> committed rPU708e15ac1256: (#14843, #14844) Add block to Puppet::Provider.execpipe (authored by Matthaus Litteken <matthaus@puppetlabs.com>).Jun 11 2012, 8:01 PM