Issue #2198 has been updated by Bill Tong.

As another example. I have some scientific software in binary form which needs 
certain libraries to run. Some of these libraries come from a RHEL 6.4 
repository, some come from an EPEL repository. I am responsible for the OS-side 
libraries, the developer is responsible for their compiled binary. The 
libraries look like this:

<pre>
aaa  # from the rhel 6.4 repo
bbb  # from the rhel 6.4 repo
ccc  # from the rhel 6.4 repo
ddd-1.2.3  # from the epel repo
eee-2.3.4  # from the epel repo
fff-3.4.5  # from the epel repo
</pre>

I have to specify the versions for the epel repo, since they contain multiple 
versions.

Unfortunately for me, when I tell puppet to install "bbb", it pulls in the 
dependency on ddd. There are multiple versions of ddd in the epel repo, and it 
chooses the newest, version 9.9.9.

When puppet gets to the part where it wants to install ddd-1.2.3, it fails with 
a multilib error, for which the root cause is that ddd is already installed 
with a newer version.

But I can work around this! You will tell me to split this list of libraries 
that their software requires, and make them depend on each other in order, 
manually re-create the chain of dependencies that exists in the rpm packages 
using the Puppet DSL.

But I can work around this! You will tell me to create an rpm containing the 
binary software and create dependencies on the libraries within the rpm, 
listing the specific versions it needs.

Yes I could do both. But both of those are a lot more effort than puppet 
installing a simple list of rpms for me in a single transaction. And that's 
what this bug is about.

----------------------------------------
Feature #2198: Install multiple package within a single call to the package 
manager
https://projects.puppetlabs.com/issues/2198#change-95081

* 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.


Reply via email to