In the recipe agent_windows, the following 'opts' is specified in the following way:
opts = ""
opts << "/SERVERIP=#{server_ip}" if node['go']['agent']['server_host']
opts << "/D=#{install_path}" if node['go']['agent']['install_path']
The problem is, if both the ['go']['agent']['server_host'] and ['go']['agent']['install_path'] are specified, the /D option gets mangled because there is no space between the two options.
In the recipe agent_windows, the following 'opts' is specified in the following way:
The problem is, if both the
['go']['agent']['server_host']
and['go']['agent']['install_path']
are specified, the /D option gets mangled because there is no space between the two options.