// PostProcess applies the artifact to the templates
PostProcess applies the artifact to the templates
// PostProcess applies the artifact to the templates
func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error) {
	tmpl := p.config.TemplateFile
	output := p.config.OutputFile
	ui.Message(fmt.Sprintf("Creating artifact: %s", artifact))
	log.Printf("[DEBUG] Creating artifact: %+v\n", artifact)
	renderErr := p.renderTemplate(tmpl, artifact, output)
	if renderErr != nil { 
		return nil, false, renderErr
	}
	return artifact, false, nil
}
func ( p * PostProcessor ) PostProcess ( ui packer . Ui , artifact packer . Artifact ) ( packer . Artifact , bool , error ) { tmpl := p . config . TemplateFile output := p . config . OutputFile ui . Message ( fmt . Sprintf ( " " , artifact ) ) log . Printf ( " \n " , artifact ) renderErr := p . renderTemplate ( tmpl , artifact , output ) if renderErr != nil { return nil , false , renderErr } return artifact , false , nil }
PostProcess applies the artifact to the templates
PostProcess applies the artifact to the templates
// could not render template