Yes that was the case, incompatible files. I upgraded my chef-client to v12.0.3 and it works now. Thanks! Chris From: Fouts, Chris [mailto:
Ok my bad, I had to use single quotes for the username and password. But now I get this. Do I have an incompatible windows gem? bootstrap windows winrm mynode.domain.com -x 'Administrator' -P 'password' -p 5985 -VV Waiting for remote response before bootstrap.mynode.domain.com . Mynode.domain.com Response received. Remote node responded after 0.01 minutes. Bootstrapping Chef on
mynode.domain.com DEBUG: Looking for bootstrap template in /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/knife-windows-0.8.2/lib/chef/knife/bootstrap DEBUG: Found bootstrap template in /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/knife-windows-0.8.2/lib/chef/knife/bootstrap ERROR:
ArgumentError: wrong number of arguments (3 for 4) Chris I’m bootstrapping a Windows Server 2012 R2 node from a RHEL 5.11 chef-client. Chris Are you bootstrapping from a Windows node or a Linux node? What OS is the windows node? If you are attempting from a linux or Mac node, could you try (replacing the url with the fqdn or ip of your target node) curl --header "Content-Type: application/soap+xml;charset=UTF-8" --header "WSMANIDENTIFY: unauthenticated"
http://192.168.1.82:5985/wsman --data '<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsmid="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd"><s:Header/><s:Body><wsmid:Identify/></s:Body></s:Envelope>' or if on Windows test-wsman 192.168.1.82 -- Steven Murawski Community Software Development Engineer @ Chef Microsoft MVP - PowerShell On January 14, 2015 at 3:26:50 PM, Fouts, Chris (
">
) wrote:
|
Archive powered by MHonArc 2.6.16.