59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# File 'lib/vagrant-windows/provisioners/chef_command_builder.rb', line 59
def create_chef_options
command_env = @config.binary_env ? "#{@config.binary_env} " : ''
return {
:user => @windows_machine.winrm_config.username,
:pass => @windows_machine.winrm_config.password,
:chef_arguments => create_chef_arguments(),
:chef_task_xml => provisioning_path('cheftask.xml'),
:chef_task_running => provisioning_path('cheftask.running'),
:chef_task_exitcode => provisioning_path('cheftask.exitcode'),
:chef_task_ps1 => chef_task_ps1_path(),
:chef_task_run_ps1 => provisioning_path('cheftaskrun.ps1'),
:chef_stdout_log => provisioning_path("chef-#{@client_type}.log"),
:chef_stderr_log => provisioning_path("chef-#{@client_type}.err.log"),
:chef_binary_path => win_friendly_path("#{command_env}#{chef_binary_path}")
}
end
|