oneops-admin/lib/shared/cookbooks/artifact/providers/deploy.rb
def write_manifest
    manifest = generate_manifest(release_path)
    Chef::Log.info "artifact_deploy[write_manifest] Writing manifest.yaml file to #{manifest_file}"
    ::File.open(manifest_file, "w") { |file| file.puts YAML.dump(manifest) }
  end
# Generates a manfiest Hash for the files under the release_path and
# writes a YAML dump of the created Hash to manifest_file.
# 
# @return [String] a String of the YAML dumped to the manifest.yaml file
Generates a manfiest Hash for the files under the release_path and
writes a YAML dump of the created Hash to manifest_file.
Generates a manfiest Hash for the files under the release_path and writes a YAML dump of the created Hash to manifest_file .
def write_manifest
    manifest = generate_manifest(release_path)
    Chef::Log.info "artifact_deploy[write_manifest] Writing manifest.yaml file to #{manifest_file}"
    ::File.open(manifest_file, "w") { |file| file.puts YAML.dump(manifest) }
  end
def write_manifest manifest = generate_manifest ( release_path ) Chef :: Log . info "artifact_deploy[write_manifest] Writing manifest.yaml file to #{manifest_file}" :: File . open ( manifest_file , "w" ) { | file | file . puts YAML . dump ( manifest ) } end
Generates a manfiest Hash for the files under the release_path and
writes a YAML dump of the created Hash to manifest_file.
Generates a manfiest Hash for the files under the release_path and writes a YAML dump of the created Hash to manifest_file .
a String of the YAML dumped to the manifest.yaml file
a String of the YAML dumped to the manifest . yaml file
String