From 733934d40b7f4e1008295351ce6f71bee15811d9 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 6 Apr 2018 20:22:01 -0400 Subject: Modify the provides for all resources from cookbooks so chef wins Due to changes in chef-client 14 old cookbooks started winning and this causes lots of problems, especially for old incompatible resources. Chef client should always win here. Signed-off-by: Tim Smith --- lib/chef/resource/windows_font.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/windows_font.rb') diff --git a/lib/chef/resource/windows_font.rb b/lib/chef/resource/windows_font.rb index 8a779a000d..9f4366338a 100644 --- a/lib/chef/resource/windows_font.rb +++ b/lib/chef/resource/windows_font.rb @@ -23,7 +23,7 @@ class Chef require "chef/util/path_helper" resource_name :windows_font - provides :windows_font + provides(:windows_font) { true } description "Use the windows_font resource to install font files on Windows."\ " By default, the font is sourced from the cookbook using the resource, but a URI"\ -- cgit v1.2.1