The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
The epoch tag isn't included in the package ensure notice 'from' version.
|Affected Puppet version:||2.7.11||Branch:|
|Keywords:||package, ensure, notice, epoch, rpm|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
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'
#2 Updated by Patrick Carlisle almost 3 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.