```ruby
=begin
# Taken from http://www.opinionatedprogrammer.com/2011/06/chef-solo-tutorial-managing-a-single-server-with-chef/
# license http://creativecommons.org/publicdomain/zero/1.0/
=end

root = File.absolute_path(File.dirname(__FILE__))

file_cache_path root
cookbook_path root + '/cookbooks'```

Add some diagnostics to a log file
user
```ruby
=begin
# Taken from http://www.opinionatedprogrammer.com/2011/06/chef-solo-tutorial-managing-a-single-server-with-chef/
# license http://creativecommons.org/publicdomain/zero/1.0/
=end

root = File.absolute_path(File.dirname(__FILE__))
log_location = root + '/chef-out.log'
file_cache_path root
cookbook_path root + '/cookbooks'```
assistant