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

NIM provider uses a regex that is too restrictive when parsing RPM release tags

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2021-06-16
    • CS Priority:
      Needs Priority
    • Zendesk Ticket IDs:
      44383
    • Zendesk Ticket Count:
      1
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Adapts the regular expressions used in the `nim` package provider to allow installp (bff) packages with `S` in their header and RPM packages with letters in their version to be installed.

      Description

      The NIM provider uses a regex that is too restrictive when parsing RPM release tags, it only allows numbers. For example if a package has a security release that includes letters it will fail to recognize it as a valid package name.
      The package "wget-1.9.1-2ssl" gives the error: "Unable to parse output from nimclient showres: package string does not match expected rpm package string format"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luchian.nemes Luchian Nemes
              Reporter:
              kaitlin Kaitlin Carter
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support