Issue #2368 has been updated by Peter Meier.

Why do you think that the problem is related to long names?

I rather suspect that puppet's latest feature doesn't support multiple 
installations. One problem might be that puppet sees all these versions as the 
same package and ensures (how latest tell) that only the latest of them is 
installed. Which makes sense. I agree not, in your case or kernel packages. But 
how to identify the different use cases of latest?

----------------------------------------
Bug #2368: Issue with yum provider and long RPM names ?
http://projects.reductivelabs.com/issues/2368

Author: Paul Seymour
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


Using the YUM provider/helper from 0.24.8 we have an issue with a
package latest all 3 packages are in the manifest as "latest":-

DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-5.03.1.0-5.03.1.0-0
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-6.10.1.0-0    - this
has an upgrade in the channels
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-6.02.1.0-6.02.1.0-0

However due to the length of the package name when we perform a puppet
run this happens the system:-
Package[DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux]/ensure:
ensure changed '6.10.1.0-0' to '6.13.1.0-0'

Which it duly does however the other 2 RPM's with similar names (but
with version appended to allow for multiple revisions) are removed in
the yum.log:-
Jun 26 08:28:01 Updated:
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux.noarch 6.13.1.0-0
Jun 26 08:28:01 Erased:
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-5.03.1.0
Jun 26 08:28:01 Erased:
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-6.02.1.0

Any ideas on how to resolve this ?


-- 
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://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to