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

pkgng does not support install_options

    XMLWordPrintable

Details

    • Night's Watch
    • 1
    • NW - 2020-04-15
    • Needs Assessment
    • Enhancement
    • Add `install_options` support to the `pkgng` provider (contributed by: [martijndegouw](https://github.com/martijndegouw))
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support