lib/command/apply_template.rb in cpl-1.1.1 vs lib/command/apply_template.rb in cpl-1.1.2.rc.0
- old
+ new
@@ -128,10 +128,11 @@
.gsub("APP_GVC", config.app)
.gsub("APP_LOCATION", config[:default_location])
.gsub("APP_ORG", config.org)
.gsub("APP_IMAGE", latest_image)
- cp.apply(YAML.safe_load(data))
+ # Don't read in YAML.safe_load as that doesn't handle multiple documents
+ cp.apply_template(data)
end
def report_success(template)
if template == "gvc"
@app_status = :success