From: Tom Hughes Date: Sat, 23 Nov 2013 17:53:53 +0000 (+0000) Subject: We want ::File here not Chef::Provider::File X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/c5bea9b23b86f421342a1a0c9c8de98acc250304?hp=3634febd0a66e60ca36e0e33779b3b35f67c1198 We want ::File here not Chef::Provider::File --- diff --git a/cookbooks/apache/providers/site.rb b/cookbooks/apache/providers/site.rb index 145d35598..b54c76a95 100644 --- a/cookbooks/apache/providers/site.rb +++ b/cookbooks/apache/providers/site.rb @@ -79,5 +79,5 @@ def enabled_name end def enabled? - File.exists?(enabled_name) + ::File.exists?(enabled_name) end