Namespace provisioner templates
This commit is contained in:
parent
fbf5237de2
commit
acbc0d4b28
|
@ -78,7 +78,7 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def setup_server_config
|
def setup_server_config
|
||||||
setup_config("chef_server_client", "client.rb", {
|
setup_config("provisioners/chef_client/client", "client.rb", {
|
||||||
:node_name => config.node_name,
|
:node_name => config.node_name,
|
||||||
:chef_server_url => config.chef_server_url,
|
:chef_server_url => config.chef_server_url,
|
||||||
:validation_client_name => config.validation_client_name,
|
:validation_client_name => config.validation_client_name,
|
||||||
|
|
|
@ -113,7 +113,7 @@ module Vagrant
|
||||||
roles_path = guest_paths(@role_folders).first
|
roles_path = guest_paths(@role_folders).first
|
||||||
data_bags_path = guest_paths(@data_bags_folders).first
|
data_bags_path = guest_paths(@data_bags_folders).first
|
||||||
|
|
||||||
setup_config("chef_solo_solo", "solo.rb", {
|
setup_config("provisioners/chef_solo/solo.erb", "solo.rb", {
|
||||||
:node_name => config.node_name,
|
:node_name => config.node_name,
|
||||||
:provisioning_path => config.provisioning_path,
|
:provisioning_path => config.provisioning_path,
|
||||||
:cookbooks_path => cookbooks_path,
|
:cookbooks_path => cookbooks_path,
|
||||||
|
|
Loading…
Reference in New Issue