Can any one please help me how share a directory from cookbook_file resource to target windows server exact path
I am trying to install Appdymanics machine agent windows version , there is no setup.exe file available we need to copy the entire directory to remote server to target path and run the VB script which installs appd agent.
i have copied the appd directory to my cookbook_file directory and trying to push that to target path which is C:\Program Files (x86) but unable to do it , when ever i tried to bootstrap the windows node i could able to see cookbook_file under path C:\chef\cache\cookbooks\appd-windows
I tried using windows commands in the recipe to move folder from default path to target path but it fails
below is the recipe im using
windows_package ‘appdynamics’ do
execute ‘appd-windows’ do
command ’ C:\chef\cache\cookbooks\appd-windows>move C:\Program Files (x86)’ #/E’