Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5025

Package resource showing notice when ensure attribute contains Epoch tag

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.1.0
    • Fix Version/s: PUP 4.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Fedora 22 x86_64

    • Template:
    • Acceptance Criteria:
      Hide

      can install (correct) packages with epoch tag. if package always has epoch, it should assume and install the 0 epoch

      Show
      can install (correct) packages with epoch tag. if package always has epoch, it should assume and install the 0 epoch
    • Epic Link:
    • Story Points:
      2
    • Sprint:
      Client 2015-09-30, Client 2015-10-14, Client 2015-10-28, Client 2016-05-04, Client 2016-05-18
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Previously, if the ensure property for a yum/dnf package contained an epoch tag, then puppet would consider the resource to always be out-of-sync and would try to reinstall the package. Puppet now takes into account the epoch tag when comparing the current and desired versions.
      Show
      Previously, if the ensure property for a yum/dnf package contained an epoch tag, then puppet would consider the resource to always be out-of-sync and would try to reinstall the package. Puppet now takes into account the epoch tag when comparing the current and desired versions.

      Description

      package resources do not behave properly when their ensure attribute is set to a version number containing an Epoch tag.

      Example:

      On Fedora 22, the current version of the tomcat package is "1:7.0.59-4.fc22".

      • With ensure => "7.0.59-4.fc22" yum/dnf exits with error "package not found" and Puppet fails
      • With ensure => "1:7.0.59-4.fc22" Puppet runs but shows a notice package tomcat changed from version 7.0.59-4.fc22 to 1:7.0.59-4.fc22 on every run

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tOnI0 Antoine Cotten
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: