| Puppet Version: 5.5.19** Desired Behavior: When running the below code, it should recognize the following install option as a global option.
package { $foo: |
ensure => installed, |
install_options => ['--no-gpg-checks'], |
} |
Actual Behavior: It appends the option to the end of the zypper command, and errors out when read as a sub-command option. Workaround: Using the --no-gpg-check variant (note the lack of an S at the end) is recognized as a global zypper option, relevant code here. This issue is closely related to PUP-4090. A note on discoverability: The Zypper help output and manual only lists the "checks" variant of the option. |