diff options
Diffstat (limited to 'lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb')
-rw-r--r-- | lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb b/lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb index c1bd3e5812..dfacc7f5ec 100644 --- a/lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb +++ b/lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb @@ -22,7 +22,7 @@ require_relative "../exceptions" require_relative "../repository/chef_repository_file_system_cookbook_dir" require_relative "../../../mixin/file_class" -require "tmpdir" +require "tmpdir" unless defined?(Dir.mktmpdir) class Chef module ChefFS |