    # File lib/chef/provider/template.rb, line 38
          def action_create
            render_with_context(template_location) do |rendered_template|
              rendered(rendered_template)
              if ::File.exist?(@new_resource.path) && content_matches?
                Chef::Log.debug("#{@new_resource} content has not changed.")
                set_all_access_controls(@new_resource.path)
              else
                backup
                set_all_access_controls(rendered_template.path)
                FileUtils.mv(rendered_template.path, @new_resource.path)
                Chef::Log.info("#{@new_resource} updated content")
                @new_resource.updated_by_last_action(true)
              end
            end
          end