diff --git a/pkg/templater/files.go b/pkg/templater/files.go index c72f099..408b41e 100644 --- a/pkg/templater/files.go +++ b/pkg/templater/files.go @@ -51,6 +51,7 @@ func (cf *ConfigFile) Generate(root string, templateDir string, values []byte) e if err != nil { return fmt.Errorf("Process templates failed with error: %v", err) } + log.Printf("\n File %s generated\n", dest) return nil } @@ -59,7 +60,6 @@ func (cf *ConfigFile) ProcessTemplate(source string, values []byte) (string, err var result string var err error - 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) diff --git a/pkg/templater/services.go b/pkg/templater/services.go index 26a8fc4..4781ce5 100644 --- a/pkg/templater/services.go +++ b/pkg/templater/services.go @@ -59,7 +59,7 @@ func (s *Service) Manage(templateDir string) error { log.Printf("\tPackage %s installed\n", pack.Name) } - log.Printf("Generating configuration files\n") + log.Printf("Generating configuration files for\n") err = processConfigFiles(s.ConfigFiles, s.Vars, templateDir) if err != nil { return fmt.Errorf("ProcessingTemplatesFailed with error: %v", err)