If you're getting NoMethodError: undefined method[]' for nil:NilClass errors in the nginx compile:
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.
If you're getting
NoMethodError: undefined method
[]' for nil:NilClass
errors in the nginx compile: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-2342This is not necessary if you just add the recipe to your runlist in the node.json file.