locomote/gusteau — pull request #44 by StephenKing (2013-12-13 13:28:10+00:00)
Title: Make dna_path cross platform

`/tmp/dna.json` is not a valid path on Windows.

It fails with:

```
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/lib/gusteau/node.rb:60:in `initialize': No such file or
directory - /tmp/dna.json (Errno::ENOENT)
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/lib/gusteau/node.rb:60:in `open'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/lib/gusteau/node.rb:60:in `dna'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/lib/gusteau/node.rb:19:in `block in converge'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/lib/gusteau/node.rb:37:in `with_hooks'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/lib/gusteau/node.rb:18:in `converge'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/bin/gusteau:19:in `converge'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/optitron-0.3.3/lib/optitron/class_dsl.rb:112:in `dispatch'
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/gusteau-1.2.0/bin/gusteau:74:in `'
from C:/opscode/chef/embedded/bin/gusteau:23:in `load'
from C:/opscode/chef/embedded/bin/gusteau:23:in `

'
```