opscode/chef — pull request #981 by moserke (2013-09-09 22:27:51+00:00)
Title: CHEF-4531: Add resource to TemplateContext

Adding the resource to the TemplateContext allows a user in the ERB
to be able to reference metadata about the requesting resource.

This can be useful if a person wants to offer a hint in their
rendered file as to which cookbook/recipe is rendering it.