opscode/chef — pull request #2424 by sersut (2014-11-14 20:36:43+00:00)
Title: :auto mode for :file_staging_uses_destdir

The new option `:auto` for `:file_staging_uses_destdir` tries destdir when creating tempfiles first and falls back to tmpdir when unseccesful.

/cc: @opscode/client-engineers

Fixes https://github.com/opscode/chef/issues/2356.