Skip to content

Commit 58c702e

Browse files
(maint) Merge up 65f30af to main
Generated by CI * commit '65f30af1b1d4cb7f158831bcac5172220ee883a1': (PUP-11667) document version range support for apt, yum and dnf
2 parents 3c2306b + 65f30af commit 58c702e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/puppet/provider/package/apt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
These options should be specified as an array where each element is either a
1414
string or a hash."
1515

16-
has_feature :versionable, :install_options, :virtual_packages
16+
has_feature :versionable, :install_options, :virtual_packages, :version_ranges
1717

1818
commands :aptget => "/usr/bin/apt-get"
1919
commands :aptcache => "/usr/bin/apt-cache"

lib/puppet/provider/package/dnf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
These options should be specified as an array where each element is either
1111
a string or a hash."
1212

13-
has_feature :install_options, :versionable, :virtual_packages, :install_only
13+
has_feature :install_options, :versionable, :virtual_packages, :install_only, :version_ranges
1414

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

lib/puppet/provider/package/yum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
This provider supports the `install_options` attribute, which allows command-line flags to be passed to yum.
1717
These options should be specified as an array where each element is either a string or a hash."
1818

19-
has_feature :install_options, :versionable, :virtual_packages, :install_only
19+
has_feature :install_options, :versionable, :virtual_packages, :install_only, :version_ranges
2020

2121
RPM_VERSION = Puppet::Util::Package::Version::Rpm
2222
RPM_VERSION_RANGE = Puppet::Util::Package::Version::Range

0 commit comments

Comments
 (0)