Empty run list when bootstrapping windows nodes


Hi there,

i want to bootstrap some Windows 7 nodes using knife-windows.
The bootstrap process goes all well but the recipe never gets executed. I
am doing the bootstrapping like this:

knife bootstrap windows winrm -x user -P user -r

I also tried the ssh way but there was no difference:
knife bootstrap windows ssh -x user -P pass -r

Creating a role with the recipe was also not a solution. In the chef
directory on the client node i have only four files: client.pem, client.rb,
validation.pem and wget.vbs. Where is my json with the run list!?

I am running ubuntu 12.04 with ruby installed via rvm (ruby 1.9.3p194
(2012-04-20 revision 35410) [x86_64-linux]), Chef 10.12.0 and i am using
hosted chef.
Does anyone else encounter the similar problem, do i miss something? I
would be very grateful for any clues :slight_smile:


p.s here the log from the bootstrapping:

Bootstrapping Chef on "Rendering
’C:\Users\EXAKT\AppData\Local\Temp\bootstrap-8305-1346946020.bat’ chunk 1" "Rendering
’C:\Users\EXAKT\AppData\Local\Temp\bootstrap-8305-1346946020.bat’ chunk 2" "Rendering
’C:\Users\EXAKT\AppData\Local\Temp\bootstrap-8305-1346946020.bat’ chunk 3" "Rendering
’C:\Users\EXAKT\AppData\Local\Temp\bootstrap-8305-1346946020.bat’ chunk 4" "Rendering
’C:\Users\EXAKT\AppData\Local\Temp\bootstrap-8305-1346946020.bat’ chunk 5" \Microsoft was unexpected at this time. C:\Windows\system32>mkdir C:\chef A subdirectory or file C:\chef already exists. C:\Windows\system32>( echo.url = WScript.Arguments.Named(“url”) echo.path = WScript.Arguments.Named(“path”) echo.Set objXMLHTTP = CreateObject(“MSXML2.ServerXMLHTTP”) echo.Set wshShell = CreateObject( “WScript.Shell” ) echo.Set objUserVariables = wshShell.Environment(“USER”) echo. echo.'http proxy is optional echo.'attempt to read from HTTP_PROXY env var first echo.On Error Resume Next echo. echo.If NOT (objUserVariables(“HTTP_PROXY”) = “”) Then echo.objXMLHTTP.setProxy 2, objUserVariables(“HTTP_PROXY”) echo. echo.'fall back to named arg echo.ElseIf NOT (WScript.Arguments.Named(“proxy”) = “”) Then echo.objXMLHTTP.setProxy 2, WScript.Arguments.Named(“proxy”) echo.End If echo. echo.On Error Goto 0 echo. echo.objXMLHTTP.open “GET”, url, false echo.objXMLHTTP.send() echo.If objXMLHTTP.Status = 200 Then echo.Set objADOStream = CreateObject(“A DODB.Stream”) echo.objADOStream.Open echo.objADOStream.Type = 1 echo.objADOStream.Write objXMLHTTP.ResponseBody echo.objADOStream.Position = 0 echo.Set objFSO = Createobject(“Scripting.FileSystemObject”) echo.If objFSO.Fileexists(path) Then objFSO.DeleteFile path echo.Set objFSO = Nothing echo.objADOStream.SaveToFile path echo.objADOStream.Close echo.Set objADOStream = Nothing echo.End if echo.Set objXMLHTTP = Nothing ) 1>C:\chef\wget.vbs C:\Windows\system32>cscript /nologo C:\chef\wget.vbs /url:
http://www.opscode.com/chef/install.msi/path:C:\Users\EXAKT\AppData\Local\Temp\chef-client-latest.msi C:\Windows\system32>msiexec /qb /i
C:\Users\EXAKT\AppData\Local\Temp\chef-client-latest.msi C:\Windows\system32>( echo.-----BEGIN RSA PRIVATE KEY----- echo. HERE COMES MY KEY echo.-----END RSA PRIVATE KEY----- ) 1>C:\chef\validation.pem C:\Windows\system32>( echo.log_level :info echo.log_location STDOUT echo. echo.chef_server_url "
https://api.opscode.com/organizations/dre" echo.validation_client_name "dre-validator" echo.client_key "c:/chef/client.pem" echo.validation_key "c:/chef/validation.pem" echo. echo.file_cache_path "c:/chef/cache" echo.file_backup_path "c:/chef/backup" echo.cache_options ({:path => “c:/chef/cache/checksums”,
:skip_expires => true}) echo. echo.# Using default node name (fqdn) ) 1>C:\chef\client.rb