From 92bb5c423bb78f0bcc7613c8cd22786eea7f65ed Mon Sep 17 00:00:00 2001 From: Greg Thornton Date: Fri, 29 Jul 2011 15:14:22 -0500 Subject: [PATCH] Changed data_bags_path and roles_path in chef-solo provisioner to strings rather than arrays. [closes GH-446] --- lib/vagrant/provisioners/chef_solo.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/vagrant/provisioners/chef_solo.rb b/lib/vagrant/provisioners/chef_solo.rb index b5572afa1..addd29a9d 100644 --- a/lib/vagrant/provisioners/chef_solo.rb +++ b/lib/vagrant/provisioners/chef_solo.rb @@ -17,8 +17,8 @@ module Vagrant super @cookbooks_path = ["cookbooks", [:vm, "cookbooks"]] - @roles_path = [] - @data_bags_path = [] + @roles_path = "" + @data_bags_path = "" @nfs = false end @@ -94,8 +94,8 @@ module Vagrant def setup_solo_config cookbooks_path = guest_paths(@cookbook_folders) - roles_path = guest_paths(@role_folders) - data_bags_path = guest_paths(@data_bags_folders) + roles_path = guest_paths(@role_folders).first + data_bags_path = guest_paths(@data_bags_folders).first setup_config("chef_solo_solo", "solo.rb", { :node_name => config.node_name,