summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/package/dnf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/dnf.rb b/lib/chef/provider/package/dnf.rb
index f46c5434c5..894f985d2c 100644
--- a/lib/chef/provider/package/dnf.rb
+++ b/lib/chef/provider/package/dnf.rb
@@ -120,7 +120,7 @@ class Chef
flushcache
end
- # dnf upgrade does not work on uninstalled packaged in that case redirecting them to install and upgrade will not work with allow_downgrade option
+ # dnf upgrade does not work when no version of the package is already installed. in this case, dnf install must be used.
def upgrade_package(names, versions)
begin
if new_resource.source