We want ::File here not Chef::Provider::File
[chef.git] / cookbooks / apache / providers / site.rb
index 145d35598cb1c662a1aca0427cd195d36d289401..b54c76a95015062fbd25cf85c0ab42465ea85cf9 100644 (file)
@@ -79,5 +79,5 @@ def enabled_name
 end
 
 def enabled?
-  File.exists?(enabled_name)
+  ::File.exists?(enabled_name)
 end