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

    • Night's Watch
    • 2
    • NW - 2021-06-16
    • Needs Priority
    • 44383
    • 1
    • Bug Fix
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support