diff options
-rw-r--r-- | lib/chef/file_content_management/tempfile.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/file_content_management/tempfile.rb b/lib/chef/file_content_management/tempfile.rb index dbe8a30ab4..bba4b34d82 100644 --- a/lib/chef/file_content_management/tempfile.rb +++ b/lib/chef/file_content_management/tempfile.rb @@ -64,6 +64,7 @@ class Chef # def tempfile_basename basename = ::File.basename(@new_resource.name) + basename.insert 0, "chef-" basename.insert 0, "." unless Chef::Platform.windows? # dotfile if we're not on windows basename end |