The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #13653

The epoch tag isn't included in the package ensure notice 'from' version.

Added by Jude Nagurney over 2 years ago. Updated over 2 years ago.

Status:AcceptedStart date:04/05/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected Puppet version:2.7.11 Branch:
Keywords:package, ensure, notice, epoch, rpm

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

I have a package block which is using ensure=>latest where the package in question is an RPM using the epoch tag. The currently installed package is also using the epoch tag. When puppet updates the package, the notice doesn’t include the epoch tag for the previous version, but it does include it in the new version.

Thu Apr 05 00:12:34 +0000 2012 /Stage[whatever]/whatever/Package[whatever]/ensure (notice): ensure changed '1.1.1-1' to '13584113336:1.1.1-1'

The notice would be more accurate if it looked more like

Thu Apr 05 00:12:34 +0000 2012 /Stage[whatever]/whatever/Package[whatever]/ensure (notice): ensure changed '13584111111:1.1.1-1' to '1333584136:1.1.1-1'


Related issues

Related to Puppet - Bug #3538: Yum provider using "version-release" to validate installa... Needs More Information 04/12/2010

History

#1 Updated by Patrick Carlisle over 2 years ago

  • Description updated (diff)
  • Status changed from Unreviewed to Accepted

#2 Updated by Patrick Carlisle over 2 years ago

  • Keywords changed from package ensure notice epoch to package, ensure, notice, epoch, rpm

It seems reasonable to me that it would display the epoch on both when it’s changed, and neither when it hasn’t.

I doubt anyone can get to this immediately, but I’d be happy to accept a patch for it.

#3 Updated by Patrick Carlisle over 2 years ago

Or maybe you want the epoch either way so you can keep better track of what you have. I’d defer to someone who actually uses the rpm provider, since I don’t.

Also available in: Atom PDF