Puppet Version: 7.14.0
Puppet Server Version: N/A
OS Name/Version: CentOS 7
The yum provider does not appear to pass in the install_options (disablerepo, enablerepo, disableexcludes) when listing available packages if a version range is specified
We have a custom / internal repo which has excludes enabled so packages are not updated during normal patching, but use install options to ensure the package is present during initial configurations, and would like to be able to use the version ranges to specify a minimum version to upgrade to when code is changed as well.
Desired Behavior: The provider properly appends the install_options to the yum list command like it does with update and other commands currently
Sample of where this is currently done during check-update: https://github.com/puppetlabs/puppet/blob/7.14.0/lib/puppet/provider/package/yum.rb#L109-L115
Available versions are listed without disablerepo, enablerepo, disableexcludes from install_options that are necessary to properly list all available updates.
Resulting in no available packages from myrepofile because it is excluded by default