Minor changes

This commit is contained in:
David Allen 2024-07-10 17:02:11 -06:00
parent e14a27cf84
commit 02406dec9f
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
6 changed files with 41 additions and 43 deletions

View file

@ -11,9 +11,9 @@ import (
type Options struct{}
type Target struct {
Templates []string `yaml:"templates,omitempty"`
FilePaths []string `yaml:"files,omitempty"`
RunTargets []string `yaml:"targets,omitempty"`
TemplatePaths []string `yaml:"templates,omitempty"`
FilePaths []string `yaml:"files,omitempty"`
RunTargets []string `yaml:"targets,omitempty"`
}
type Jwks struct {
@ -48,13 +48,13 @@ func NewConfig() Config {
},
Targets: map[string]Target{
"dnsmasq": Target{
Templates: []string{},
TemplatePaths: []string{},
},
"conman": Target{
Templates: []string{},
TemplatePaths: []string{},
},
"warewulf": Target{
Templates: []string{
TemplatePaths: []string{
"templates/warewulf/defaults/node.jinja",
"templates/warewulf/defaults/provision.jinja",
},