Issue #2198 has been updated by Kylo Ginsberg.
There was a great discussion on puppet-dev: https://groups.google.com/forum/#!topic/puppet-dev/X7RgakTGnbk The initial outcome was: The provider interface: * Provider::batchable?(resource1, resource2) * Provider::batch_start * Provider::batch_end We defined an initial set of vertical slices to work on, with the yum provider as the initial guinea pig: 1. Define report schema changes 2. Every resource is its own batch. The provider executes the batch and these batches appear in the report. 3. The provider is able to control what resources can go into a batch to allow batches of size > 1. Manifest ordering algorithm. 4. The yum provider executes all of the items in a batch using a single command. It assumes that everything will succeed and no error reporting is done. 5. The yum provider handles errors while executing a batch and reports a failure for any item as a failure for all items. 6. The yum provider is able to report which item of the batch caused the actual error and preserve this information in the report. 7. Extend/test for Title Hash order and Random Order. Prior to this, the conservative (manifest ordering) algorithm is used per batch. I suspect we'll learn some about batch processing (and perhaps yum!) as we go, so these slices aren't set in stone, but just an initial development plan. I'm hoping we'll see some of these slices getting developed soon! ---------------------------------------- Feature #2198: Install multiple package within a single call to the package manager https://projects.puppetlabs.com/issues/2198#change-98806 * Author: Stéphan Gorget * Status: Investigating * Priority: Normal * Assignee: * Category: transactions * Target version: * Affected Puppet version: 0.25.0 * Keywords: communitypatch * Branch: http://github.com/phantez/puppet/commit/51ff88c950c172e6060ae63c1c71968e7898b462 ---------------------------------------- During the configuration applying process the package manager is called for each package installation. It is possible to reduce the number of calls to the package manager by gathering package installation and delayed some package installation. Naturally, this modification should not break the dependency graph. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
