diff options
author | snehaldwivedi <sdwivedi@msystechnologies.com> | 2021-10-08 07:21:38 +0000 |
---|---|---|
committer | snehaldwivedi <sdwivedi@msystechnologies.com> | 2021-10-08 07:21:38 +0000 |
commit | 9e4af9e55909c13ffc0139e54197247924ece43d (patch) | |
tree | 0b50ecfa825c8707798656ff99a091c7f958baa7 | |
parent | a18ecdcd031227793140808fe9d55aabbb44c2de (diff) | |
download | chef-snehal/dnf_package_resource_downgrades_issue.tar.gz |
To update comment msgsnehal/dnf_package_resource_downgrades_issue
Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
-rw-r--r-- | lib/chef/provider/package/dnf.rb | 2 |
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 |