From 137d0ce24cdfedab3af7e3925258765e6666e5b8 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 29 Jun 2022 17:10:26 +0200 Subject: [PATCH] Try 07 --- pkg/templater/files.go | 2 +- pkg/templater/services.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/templater/files.go b/pkg/templater/files.go index 691f1b5..c72f099 100644 --- a/pkg/templater/files.go +++ b/pkg/templater/files.go @@ -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) diff --git a/pkg/templater/services.go b/pkg/templater/services.go index cf968bb..26a8fc4 100644 --- a/pkg/templater/services.go +++ b/pkg/templater/services.go @@ -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)