From 869c0b94ff80bcb903411edcf3355607261b8d68 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 27 Aug 2013 14:35:11 -0700 Subject: [PATCH] provisioner/chef-solo: use proper exceute command --- provisioner/chef-solo/provisioner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provisioner/chef-solo/provisioner.go b/provisioner/chef-solo/provisioner.go index cab0c23cd..378023e6a 100644 --- a/provisioner/chef-solo/provisioner.go +++ b/provisioner/chef-solo/provisioner.go @@ -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,