Changed data_bags_path and roles_path in chef-solo provisioner to strings rather than arrays. [closes GH-446]
This commit is contained in:
parent
9d7433cbe7
commit
92bb5c423b
|
@ -17,8 +17,8 @@ module Vagrant
|
||||||
super
|
super
|
||||||
|
|
||||||
@cookbooks_path = ["cookbooks", [:vm, "cookbooks"]]
|
@cookbooks_path = ["cookbooks", [:vm, "cookbooks"]]
|
||||||
@roles_path = []
|
@roles_path = ""
|
||||||
@data_bags_path = []
|
@data_bags_path = ""
|
||||||
@nfs = false
|
@nfs = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -94,8 +94,8 @@ module Vagrant
|
||||||
|
|
||||||
def setup_solo_config
|
def setup_solo_config
|
||||||
cookbooks_path = guest_paths(@cookbook_folders)
|
cookbooks_path = guest_paths(@cookbook_folders)
|
||||||
roles_path = guest_paths(@role_folders)
|
roles_path = guest_paths(@role_folders).first
|
||||||
data_bags_path = guest_paths(@data_bags_folders)
|
data_bags_path = guest_paths(@data_bags_folders).first
|
||||||
|
|
||||||
setup_config("chef_solo_solo", "solo.rb", {
|
setup_config("chef_solo_solo", "solo.rb", {
|
||||||
:node_name => config.node_name,
|
:node_name => config.node_name,
|
||||||
|
|
Loading…
Reference in New Issue