Skip to content

Commit f370f07

Browse files
committed
(PUP-11667) document version range support for apt, yum and dnf
1 parent 8004d4c commit f370f07

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
@@ -12,7 +12,7 @@
1212
These options should be specified as an array where each element is either a
1313
string or a hash."
1414

15-
has_feature :versionable, :install_options, :virtual_packages
15+
has_feature :versionable, :install_options, :virtual_packages, :version_ranges
1616

1717
commands :aptget => "/usr/bin/apt-get"
1818
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
@@ -9,7 +9,7 @@
99
These options should be specified as an array where each element is either
1010
a string or a hash."
1111

12-
has_feature :install_options, :versionable, :virtual_packages, :install_only
12+
has_feature :install_options, :versionable, :virtual_packages, :install_only, :version_ranges
1313

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

lib/puppet/provider/package/yum.rb

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

18-
has_feature :install_options, :versionable, :virtual_packages, :install_only
18+
has_feature :install_options, :versionable, :virtual_packages, :install_only, :version_ranges
1919

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

0 commit comments

Comments
 (0)