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

Portage package provider does not list all installed packages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • PUP 4.1.0
    • None
    • None
    • 1
    • Client 2015-05-13
    • 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

              branan Branan Riley
              chrigl Christoph Glaubitz
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support