diff --git a/cookbooks/fb_helpers/libraries/node_methods.rb b/cookbooks/fb_helpers/libraries/node_methods.rb index 620f78af..b13b62f7 100644 --- a/cookbooks/fb_helpers/libraries/node_methods.rb +++ b/cookbooks/fb_helpers/libraries/node_methods.rb @@ -1149,7 +1149,7 @@ def default_package_manager if cls m = cls.to_s.match(/Chef::Resource::(\w+)Package/) if m[1] - m[1].downcase + m[1] == 'FbDnf' ? 'dnf' : m[1].downcase else fail "fb_helpers: unknown package manager resource class: #{cls}" end