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

AIX provider prefetch will fail if any package does not have a source

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.10.7, PUP 5.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Acceptance Criteria:
      Hide

      AIX package provider can successfully prefetch when a package with no source is in the catalog

      Show
      AIX package provider can successfully prefetch when a package with no source is in the catalog
    • Team:
      Platform OS
    • Story Points:
      2
    • Sprint:
      Platform OS 2017-08-09, Platform OS 2017-08-22, Platform OS 2017-09-05
    • Method Found:
      Customer Feedback
    • CS Priority:
      Normal
    • CS Frequency:
      1 - 1-5% of Customers
    • CS Severity:
      3 - Serious
    • CS Business Value:
      4 - $$$$$
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Puppet can now correctly install packages with the AIX provider when a manifest also includes a package being removed
    • QA Risk Assessment:
      Automate

      Description

      Prefetching in AIX assumes that all packages have a valid source attribute. This is not always the case, as ensure => absent does not require such a source. Thus the following manifest will cause prefetch to fail:

      package { 'sudo.rte':
          ensure => latest,
          source => "/mnt/my-packages"
      }
       
      package { 'curl.rte':
          ensure => absent,
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              branan Branan Riley
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support