RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: whatcould
If you're getting NoMethodError: undefined method' for nil:NilClass errors in the nginx compile:
NoMethodError: undefined method
' for nil:NilClass
Looks like as of Chef 11, you need to add depends 'nginx' to a metadata.rb file if you do an 'include_recipe'. (In this example, the medata.rb would be in the 'main' recipe directory.) See http://tickets.opscode.com/browse/COOK-2342
This is not necessary if you just add the recipe to your runlist in the node.json file.