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

openbsd package provider fails for packages available in multiple versions and multiple flavors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 6.18.0
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
    • Template:
      PUP Bug Template
    • Agent OS:
      Other
    • Team:
      Night's Watch
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version:  6.x
      Puppet Server Version:
      OS Name/Version: OpenBSD 6.8

      packages with stems and multiple versions available cannot be installed automatically. since the openbsd package provider cannot use version and flavor.

      Actual Behavior:

      Taken the following manifest:

      package{'postfix':
       ensure => '3.5.7',
       }
      

      if run with puppet apply gives the output:

      Debug: Executing: '/usr/sbin/pkg_info postfix'
      Debug: Executing: '/usr/sbin/pkg_add -r postfix--'
      "quirks-3.439 signed on 2020-11-19T21:06:27Z\n" +
      "Ambiguous: postfix-- could be postfix-3.6.20200627 postfix-3.5.7\n"
      

      Remark:

      postfix on OpenBSD 6.8 is available in multiple flavors in two versions. I did not find a way to install a postfix  version automatically without using an exec statement !!!!

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            trefzer Benedikt Trefzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support