provisioner/chef-solo: use proper exceute command

This commit is contained in:
Mitchell Hashimoto 2013-08-27 14:35:11 -07:00
parent 476d870be5
commit 3b097f9805
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ func (p *Provisioner) createDir(ui packer.Ui, comm packer.Communicator, dir stri
}
func (p *Provisioner) executeChef(ui packer.Ui, comm packer.Communicator, config string, json string) error {
command, err := p.config.tpl.Process(p.config.InstallCommand, &ExecuteTemplate{
command, err := p.config.tpl.Process(p.config.ExecuteCommand, &ExecuteTemplate{
ConfigPath: config,
JsonPath: json,
Sudo: !p.config.PreventSudo,