I am install Eclipse on a Windows 2012 using Chef remotely. I am able to
accomplish this with no issue. The problem I am running into is installing
It seems that I need the “windows_batch” to run as administrator. I am using
the knife-windows plugin. The recipe I am using is below:
windows_batch “install_maven” do
C:\eclipse\eclipsec.exe -nosplash -application
The issue I see is it just hangs when it reaches this recipe remotely.
The recipe works when I run chef-client locally from a powershell prompt ran as
administrator and I change “windows_batch” to “batch”. How can I make this
work when I run this remotely?
Please let me know if you need more details.
Thank you for the help!