Issue #8062 has been updated by Patrick Carlisle.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 2.7.x to 2.7.10

merged in commit:40313fa143ed97d9b4f83f150ba2d5c8811d40e3

    (#8062) Consider package epoch version when comparing yum package versions
    
    By including the epoch version in the version returned as the "latest"
    available, we can now properly consider package updates where only the
    epoch version has changed.
    
    Signed-off-by: Jude Nagurney <[email protected]>
    Signed-off-by: Jacob Helwig <[email protected]>
----------------------------------------
Bug #8062: yum package ensure=>latest not checking the epoch tag
https://projects.puppetlabs.com/issues/8062

Author: Jude Nagurney
Status: Merged - Pending Release
Priority: Normal
Assignee: Jacob Helwig
Category: package
Target version: 2.7.10
Affected Puppet version: 2.6.6
Keywords: 
Branch: https://github.com/jhelwig/puppet/tree/tickets/2.7.x/8062-yum-epoch


I have a package block using `ensure=>latest` for an rpm in a yum repo.  
If I push out a new package to repo and just the epoch tag value changes, but 
the version and release stay the same, puppet doesn't notice that the package 
needs to be upgraded.
It looks like this is because latest in `lib/puppet/provider/package/yum.rb` 
isn't including the epoch tag in its return value.

I have a patch available at 
[https://github.com/jude/puppet/commit/a26f7f339b3f78b2221f0040a28fdc90676b86b2](https://github.com/jude/puppet/commit/a26f7f339b3f78b2221f0040a28fdc90676b86b2)




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