Try 07
This commit is contained in:
parent
75c6635051
commit
137d0ce24c
|
@ -59,7 +59,7 @@ func (cf *ConfigFile) ProcessTemplate(source string, values []byte) (string, err
|
|||
var result string
|
||||
var err error
|
||||
|
||||
log.Printf("\t Generating template %s\n", source)
|
||||
log.Printf("\nGenerating template %s\n", source)
|
||||
if cf.TemplateType == "hcl" {
|
||||
// The template is an hcl template so we call processHCLTemplate
|
||||
result, err = cf.processHCLTemplate(source, values)
|
||||
|
|
|
@ -59,6 +59,7 @@ func (s *Service) Manage(templateDir string) error {
|
|||
log.Printf("\tPackage %s installed\n", pack.Name)
|
||||
}
|
||||
|
||||
log.Printf("Generating configuration files\n")
|
||||
err = processConfigFiles(s.ConfigFiles, s.Vars, templateDir)
|
||||
if err != nil {
|
||||
return fmt.Errorf("ProcessingTemplatesFailed with error: %v", err)
|
||||
|
|
Loading…
Reference in New Issue