rename KnifeChefTemplate to KnifeTemplate

This commit is contained in:
Jamie Snell 2016-06-14 13:42:53 -05:00
parent 4847e891b0
commit 7b3224f3c7
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ type InstallChefTemplate struct {
Sudo bool
}
type KnifeChefTemplate struct {
type KnifeTemplate struct {
Sudo bool
Flags string
Args string
@ -499,7 +499,7 @@ func (p *Provisioner) knifeExec(ui packer.Ui, comm packer.Communicator, node str
"-c", knifeConfigPath,
}
p.config.ctx.Data = &KnifeChefTemplate{
p.config.ctx.Data = &KnifeTemplate{
Sudo: !p.config.PreventSudo,
Flags: strings.Join(flags, " "),
Args: strings.Join(args, " "),