opscode-cookbooks/nginx — pull request #13 by cjoudrey (2012-06-22 00:53:43+00:00)
Title: Crash on first install when using nginx::source

When installing nginx from source using `nginx::source`, recipe crashes on first install because `node.automatic_attrs['nginx']` is `nil`.

---

# Trace

```
[2012-06-16T13:27:51-04:00] ERROR: Running exception handlers
[2012-06-16T13:27:51-04:00] ERROR: Exception handlers complete
[2012-06-16T13:27:51-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-06-16T13:27:51-04:00] FATAL: NoMethodError: bash[compile_nginx_source] (nginx::source line 79) had an error: NoMethodError: undefined method `[]' for nil:NilClass
```