Try 07
This commit is contained in:
parent
dc9d431b13
commit
6f69746e41
|
@ -51,7 +51,7 @@ func (cf *ConfigFile) Generate(root string, templateDir string, values []byte) e
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Process templates failed with error: %v", err)
|
return fmt.Errorf("Process templates failed with error: %v", err)
|
||||||
}
|
}
|
||||||
log.Printf("\n File %s generated\n", dest)
|
log.Printf("\tFile %s generated\n", dest)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ func (s *Service) Manage(templateDir string) error {
|
||||||
log.Printf("\tPackage %s installed\n", pack.Name)
|
log.Printf("\tPackage %s installed\n", pack.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("Generating configuration files for\n")
|
log.Printf("Generating configuration files\n")
|
||||||
err = processConfigFiles(s.ConfigFiles, s.Vars, templateDir)
|
err = processConfigFiles(s.ConfigFiles, s.Vars, templateDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("ProcessingTemplatesFailed with error: %v", err)
|
return fmt.Errorf("ProcessingTemplatesFailed with error: %v", err)
|
||||||
|
|
Loading…
Reference in New Issue