Issue #1656 has been updated by David Miller.

Status changed from Duplicate to Re-opened

These bugs can't be duplicates of each other.  One of them has to stay open. :) 
 (or get closed for some other reason other than duplicate).  I'm surprised the 
tracker actually let you do that.
----------------------------------------
Bug #1656: Puppet rpm/yum handler cannot deal with 2 packages with the same 
name and a different version
http://projects.reductivelabs.com/issues/1656

Author: Robert Lazzurs
Status: Re-opened
Priority: Normal
Assigned to: 
Category: package
Target version: 
Affected version: 0.24.4
Keywords: 
Branch: 


Hello,

I have hit an issue where puppet cannot manage the the facilities provided to 
it by rpm/yum.  I tried to use puppet to ensure an extra kernel package would 
be installed on a system by adding the following line

package { kernel-xen: ensure => "2.6.18-92.1.6.el5" }

However when running the manifest on the server I get the following message 

err: //Node[vfuk3]/productionsys/production/Package[kernel-xen]/ensure: change 
from 2.6.18-53.el5 to 2.6.18-92.1.6.el5 failed: Could not update: Failed to 
update to version 2.6.18-92.1.6.el5, got version 2.6.18-53.el5 instead at 
/var/lib/puppet/modules/production/manifests/init.pp:17

then after the initial puppet run the follow is reported by rpmquery 

[r...@vfuk3 ~]# rpmquery kernel-xen
kernel-xen-2.6.18-53.el5
kernel-xen-2.6.18-92.1.6.el5

So clearly puppet has managed to install the package however due to the first 
time also finding another kernel-xen package installed it took the version of 
the first package it found and assumed the new version it had requested was not 
installed.

RPM does support installing two packages with the same name and different 
version for good reasons, if puppet is to manage rpm based systems it should 
too.


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