- From: "Liedike, Michael (US - Philadelphia)" <
>
- To: "
" <
>, "
" <
>
- Subject: [chef-dev] RE: Opscode Chef installing Eclipse with Plugins on Windows 2012
- Date: Wed, 8 Jan 2014 17:10:34 +0000
- Accept-language: en-US
Hi,
Yes I am using knife winrm to use chef remotely. I created a local
administrator and put the user into the local admin group too.
From chef workstation I run the following command:
knife winrm "<Server_IP>" "chef-client -o
recipe[eclipse_windows::maven_plugin]" -m -x Administrator -P "<password>"
This results in a hung process and eventually times out.
Mike Liedike
Deloitte Consulting, LLP
Tel/Direct: +1 215 282 1043
www.deloitte.com
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message and any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, by you is strictly prohibited.
v.E.1
-----Original Message-----
From: Adam Edwards
[mailto:
Sent: Wednesday, January 08, 2014 9:01 AM
To: Liedike, Michael (US - Philadelphia);
Subject: RE: [chef-dev] Opscode Chef installing Eclipse with Plugins on
Windows 2012
How are you using Chef "remotely" -- you're using knife ssh / knife winrm
to run chef-client?
-Adam
-----Original Message-----
From:
[mailto:
Sent: Wednesday, January 8, 2014 8:52 AM
To:
Subject: [chef-dev] Opscode Chef installing Eclipse with Plugins on
Windows 2012
Hello,
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
plugins.
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
code <<-EOH
C:\\eclipse\\eclipsec.exe -nosplash -application
org.eclipse.equinox.p2.director -repository
http://download.eclipse.org/releases/indigo/,http://repository.sonatype.or
g/content/sites/forge-sites/m2e/0.12.0/S/0.12.0.20101102-1505/
-installIU org.maven.ide.eclipse.feature.feature.group
EOH
end
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!
Mike
- [chef-dev] Opscode Chef installing Eclipse with Plugins on Windows 2012, mliedike, 01/08/2014
- Message not available
- [chef-dev] RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Liedike, Michael (US - Philadelphia), 01/08/2014
- [chef-dev] RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Adam Edwards, 01/08/2014
- [chef-dev] RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Liedike, Michael (US - Philadelphia), 01/08/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Liedike, Michael (US - Philadelphia), 01/08/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Adam Edwards, 01/08/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Liedike, Michael (US - Philadelphia), 01/08/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Adam Edwards, 01/16/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Liedike, Michael (US - Philadelphia), 01/17/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Adam Edwards, 01/17/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Liedike, Michael (US - Philadelphia), 01/17/2014
- [chef-dev] RE: RE: Opscode Chef installing Eclipse with Plugins on Windows 2012, Adam Edwards, 01/17/2014
Archive powered by MHonArc 2.6.16.