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

pkgng does not support install_options

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Agent OS:
      Other
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2020-04-15
    • Method Found:
      Needs Assessment
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Add `install_options` support to the `pkgng` provider (contributed by: [martijndegouw](https://github.com/martijndegouw))
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 5.5.18
      Puppet Server Version: 5.5.18
      OS Name/Version: FreeBSD 12.1

      The pkgng provider does not support install_options

      Desired Behavior:

      package

      { 'mypackage':     ensure => present,     source => '[https://my.downloadsite.com/mypackage-freebsd-11.1.txz'-amd64|https://my.downloadsite.com/mypackage-freebsd-11.1.txz'] ,     provider => 'pkgng',     install_options = '-f', }

       

      Notice: /Stage[main]/Mymodule::Install/Package[mypackage]/ensure: created

      Actual Behavior:

      Error: Could not update: Execution of '/usr/local/sbin/pkg add -q https://my.downloadsite.com/mypackage-freebsd-11.1-amd64.txz' returned 70: pkg: wrong architecture: FreeBSD:11:amd64 instead of FreeBSD:12:amd64

       

        Attachments

          Activity

            People

            Assignee:
            gabriel.nagy Gabriel Nagy
            Reporter:
            mdegouw Martijn de Gouw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support