opscode/chef — pull request #2254 by jaymzh (2014-10-18 00:11:29+00:00)
Title: [11-stable] Multipackge support

Allow the `package` provider to take an array of packages to handle in one
transaction.

This solves two large problems:
* There are times when you cannot install two packages in sequence, like when a
binary is moving between two packages - they *must* be done in the same
transaction.
* When using Chef to install the vast majority of your base system, it
can make imaging take a very, very long time because executing yum or apt once
for every single package is painfully slow.

This solves both. The scaffolding is all there in the Package HWRP, plus the
underlying implementation for both apt and yum, the two I have access to test.

This is the 11-stable version.

PLEASE do the initial code-review on the 10-stable PR (#2253) since it's easiest for me to test, I'll then forward-port those here and then we can do another round of review here.