Skip to content

Commit

Permalink
(maint) Merge up 65f30af to main
Browse files Browse the repository at this point in the history
Generated by CI

* commit '65f30af1b1d4cb7f158831bcac5172220ee883a1':
  (PUP-11667) document version range support for apt, yum and dnf
  • Loading branch information
puppetlabs-jenkins committed Sep 29, 2023
2 parents 3c2306b + 65f30af commit 58c702e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/package/apt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
These options should be specified as an array where each element is either a
string or a hash."

has_feature :versionable, :install_options, :virtual_packages
has_feature :versionable, :install_options, :virtual_packages, :version_ranges

commands :aptget => "/usr/bin/apt-get"
commands :aptcache => "/usr/bin/apt-cache"
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/package/dnf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
These options should be specified as an array where each element is either
a string or a hash."

has_feature :install_options, :versionable, :virtual_packages, :install_only
has_feature :install_options, :versionable, :virtual_packages, :install_only, :version_ranges

commands :cmd => "dnf", :rpm => "rpm"

Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/provider/package/yum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
This provider supports the `install_options` attribute, which allows command-line flags to be passed to yum.
These options should be specified as an array where each element is either a string or a hash."

has_feature :install_options, :versionable, :virtual_packages, :install_only
has_feature :install_options, :versionable, :virtual_packages, :install_only, :version_ranges

RPM_VERSION = Puppet::Util::Package::Version::Rpm
RPM_VERSION_RANGE = Puppet::Util::Package::Version::Range
Expand Down

0 comments on commit 58c702e

Please sign in to comment.