    # File lib/chef/cookbook_version.rb, line 820
        def generate_manifest_with_urls(&url_generator)
          rendered_manifest = manifest.dup
          COOKBOOK_SEGMENTS.each do |segment|
            if rendered_manifest.has_key?(segment)
              rendered_manifest[segment].each do |manifest_record|
                url_options = { :cookbook_name => name.to_s, :cookbook_version => version, :checksum => manifest_record["checksum"] }
                manifest_record["url"] = url_generator.call(url_options)
              end
            end
          end
          rendered_manifest
        end