From 0879c1d624b1a78a2adaa3f5c8d2b2dc49d29770 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 5 Sep 2013 23:59:11 -0700 Subject: [PATCH] provisioners/chef: fix syntax error --- plugins/provisioners/chef/config/chef_solo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/chef/config/chef_solo.rb b/plugins/provisioners/chef/config/chef_solo.rb index feeb3b57d..f4b601442 100644 --- a/plugins/provisioners/chef/config/chef_solo.rb +++ b/plugins/provisioners/chef/config/chef_solo.rb @@ -68,7 +68,7 @@ module VagrantPlugins errors << I18n.t("vagrant.config.chef.cookbooks_path_empty") if \ !cookbooks_path || [cookbooks_path].flatten.empty? errors << I18n.t("vagrant.config.chef.environment_path_required") if \ - environment && environments_path.empty?) + environment && environments_path.empty? { "chef solo provisioner" => errors } end