The resource compiles an Array of modules, and the template context is `extend`-ed with all of them. The unit tests cover this case: https://github.com/opscode/chef/blob/bfa72146f13583ac688dca3cb6831cb9dff363f2/spec/unit/resource/template_spec.rb#L183