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

Fix parsing version range for regular version

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.16.0
    • None
    • Night's Watch
    • 1
    • NW - 2020-06-10
    • Enhancement
    • Hide
      Thank you https://github.com/Hexta for adding support on version ranges for `eq` operator. Now all the providers that support version ranges will also handle simple versions, making the behaviour consistent between package providers, eg: '1.2.3'
      Show
      Thank you https://github.com/Hexta for adding support on version ranges for `eq` operator. Now all the providers that support version ranges will also handle simple versions, making the behaviour consistent between package providers, eg: '1.2.3'
    • Needs Assessment

    Description

      Puppet Version: 6.11.0
      Puppet Server Version: 6.11.0
      OS Name/Version: Debian 9

      puppet resource package prometheus-client ensure='0.7.1' provider='pip3' --debug
      

       

      Desired Behavior:

      Package install without failing notice in debug log.

      Actual Behavior:

      Debug log contains strange string:

      Debug: Cannot parse 0.7.1 as a pip version range, falling through.

      PR: https://github.com/puppetlabs/puppet/pull/8138

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            hexta Artur Molchanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support