Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 5.5.18
-
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