Class: Chef::Provider::Template::Content

Inherits:
FileContentManagement::ContentBase show all
Includes:
Mixin::Template
Defined in:
lib/chef/provider/template/content.rb

Instance Attribute Summary

Attributes inherited from FileContentManagement::ContentBase

#current_resource, #logger, #new_resource, #run_context

Instance Method Summary collapse

Methods inherited from FileContentManagement::ContentBase

#initialize, #tempfile

Constructor Details

This class inherits a constructor from Chef::FileContentManagement::ContentBase

Instance Method Details

#template_locationObject



31
32
33
# File 'lib/chef/provider/template/content.rb', line 31

def template_location
  @template_file_cache_location ||= template_finder.find(new_resource.source, local: new_resource.local, cookbook: new_resource.cookbook)
end