summaryrefslogtreecommitdiff
path: root/lib/chef/provider/http_request.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/http_request.rb')
-rw-r--r--lib/chef/provider/http_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/http_request.rb b/lib/chef/provider/http_request.rb
index 98f73e79c4..6859385f7b 100644
--- a/lib/chef/provider/http_request.rb
+++ b/lib/chef/provider/http_request.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "tempfile"
+require "tempfile" unless defined?(Tempfile)
require_relative "../http/simple"
class Chef