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

Portage package provider does not list all installed packages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: PUP 4.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-05-13
    • Release Notes:
      Bug Fix

      Description

      Running puppet resource package on Gentoo/Portage, currently only lists packages that were installed by puppet, but not those installed by hand.

      This was introduced in https://github.com/puppetlabs/puppet/commit/9e7bf07580d79e5b68d28cc594162959cf2a8d7d.
      Old line 79 contains a '\n'.
      But, new line 123 does not.

      So now, the result of eix is only a one liner, no matter how many packages are installed. Since further on, the provider reads eix output line by line, no "by hand"-installed package will be found.

      I already opened a PR for this issue.
      https://github.com/puppetlabs/puppet/pull/3765

      risk: low
      probability: low (gentoo)
      severity: high

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                branan Branan Riley
                Reporter:
                chrigl Christoph Glaubitz
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support