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

pkgin output incorrectly parsed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.0.0
    • Fix Version/s: PUP 4.2.0
    • Labels:
      None
    • Environment:

      cargos, pkgsrc 2015q1,

    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-06-10
    • Release Notes:
      Bug Fix

      Description

      The pkgin tool adjusts it's output when run from an interactive or non-interactive terminal by replacing spaces with semicolons. The provider was not adjusted for this and thus exhibited odd behaviour such as 'puppet resource package virt-what' resulting in:

      package

      { 'virt-what': ensure => '1.15;Detect', }

      The PR associated with the ticket switches the 'search' and 'list' commands to explicitly use '-p' (for parsable format) eventhough it's implied for non-interactive, and adjusts the regex accordingly.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jasper Jasper Lievisse Adriaanse
                  QA Contact:
                  Eric Thompson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: