Skip to content

Instantly share code, notes, and snippets.

@samsonkolge
Created August 1, 2016 07:40
Show Gist options
  • Save samsonkolge/37844f72a18c39a64a94aaf7445fc0bf to your computer and use it in GitHub Desktop.
Save samsonkolge/37844f72a18c39a64a94aaf7445fc0bf to your computer and use it in GitHub Desktop.
Chef Windows Bootstrap error dump
$ /c/opscode/chefdk/bin/knife bootstrap windows winrm node1 -x administrator -P 'run.bat-58' -N winnode --run-list 'recipe[learn_chef_iis]' -VV
INFO: Using configuration from C:/Users/kolge/learn-chef/chef-repo/.chef/knife.rb
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Looking for key winrm_user and found value administrator
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_password and found value run.bat-58
DEBUG: Looking for key winrm_port and found value 5985
DEBUG: Looking for key session_timeout and found value 30
DEBUG: Looking for key session_timeout and found value 30
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Looking for key ssl_peer_fingerprint and found value
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Adding node1
DEBUG: WinRM::WinRMWebService options: {:user=>".\\administrator", :pass=>"run.bat-58", :basic_auth_only=>false, :disable_sspi=>false, :no_ssl_peer_verification=>false, :ssl_peer_fingerprint=>nil, :ca_trust_path=>nil}
DEBUG: Endpoint: http://node1:5985/wsman
DEBUG: Transport: negotiate
DEBUG: Looking for key chef_node_name and found value winnode
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as admin
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to https://chef-server/organizations/hpe/nodes/winnode
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: admin
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:27:48Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1: HXWstgo0IDo1t5KsH5NMvbCH7K5WM3VEe0tyN00BcG0fYN9iYjaC0eiwd8pj
DEBUG: X-OPS-AUTHORIZATION-2: RqQmpUdicTsW5EHMdnCewj2DcasLw1C3zeuEl2jZp0WbKPrH/1iUesZa55MB
DEBUG: X-OPS-AUTHORIZATION-3: MNtPlUqOCI3Cs/X5DamJfI/y/I4Mzs8LMoaWWNy3kRfTOgrNER46qxqeD+BB
DEBUG: X-OPS-AUTHORIZATION-4: ypoy2M3IFdjXWEUqbPCRkgNHEe5ibaaRsSkhLqlRx1ZNR+LBRY/YDE5pNHk8
DEBUG: X-OPS-AUTHORIZATION-5: MgjWOJzPfvJBJFFxkTdc97MBE7CAH274F4WpODuwWET8TWwsbMgmKUh6v4Vw
DEBUG: X-OPS-AUTHORIZATION-6: idzq/98DZi7gecK/Llg/Y3Zf4/9huZZSnTDvC7h9eg==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:39 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Decompressing gzip response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Node winnode exists, overwrite it? (Y/N) y
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as admin
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating DELETE to https://chef-server/organizations/hpe/nodes/winnode
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: admin
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:28:03Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1: EeoKKJwAWcDmLwTM9Xf0SYBXwrZVgTEKc+HcjTQEXo6uJ/2mRqO7y9+Rsg+l
DEBUG: X-OPS-AUTHORIZATION-2: CggulJh476IqVjO324WKwHUddR52LWfHCx/gSRsNPSSYATMbDDimp8/a5ent
DEBUG: X-OPS-AUTHORIZATION-3: 6DHYdsf372pesA9+Tes0q2VRQr8n3+1DbUj5N6hQzZmIXmhJHNEIvVezfnhT
DEBUG: X-OPS-AUTHORIZATION-4: oUilDo7xqjWaY7I1eateh9MfBdK8pDnWbbIzXO7jYqwfeYVY1AABP69XvChV
DEBUG: X-OPS-AUTHORIZATION-5: 8qTo/wlaLo3SgFilhLHaVqBgOPmwhyMkGe86FlIyd17XdEJJE3AiYZPxqBv2
DEBUG: X-OPS-AUTHORIZATION-6: qYYXSflOLWxY0MkyGp6bb8imMAjCLOrqPSrNPJRruA==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:46 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Decompressing gzip response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as admin
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to https://chef-server/organizations/hpe/clients/winnode
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: admin
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:28:03Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1: YublVWv7D04DN0mhFMP0WG4yh7m/Vp2mNmy+6A03Dhb3jz3h6WgyHF48V57b
DEBUG: X-OPS-AUTHORIZATION-2: swDcipueLj1caPmm4KcVYTER8HGdrqsXSWNApgegLwOUJNJeqglBFKK8ONt0
DEBUG: X-OPS-AUTHORIZATION-3: c+DMBnoS6YyOzFKoCB3bSyIiXLefbQE6kZEe40CWZU3lvFvHtOgtiqm2+CQI
DEBUG: X-OPS-AUTHORIZATION-4: aZ294F8MWuJK8m6xnt4QC3FQhz9MSKuwPUfPyo7ssrGuDoQ6tfI6LkRKYy8d
DEBUG: X-OPS-AUTHORIZATION-5: P1ViPSx9GYGkA2qALmsHnQlkFJHex2gSMPtGLyt42anRm/XUI5qTR1m43QpK
DEBUG: X-OPS-AUTHORIZATION-6: R0SzVKxhCrhqb73PQuYIgpbakXy5hoovc5fyvlhsbQ==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:46 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Decompressing gzip response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Client winnode exists, overwrite it? (Y/N) y
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as admin
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating DELETE to https://chef-server/organizations/hpe/clients/winnode
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: admin
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:28:04Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1: HJC/EwSiugrib2H6KtycGcOl5hsQKxIqXiEpf+z9D/snwAljPqBcv8G0Swi/
DEBUG: X-OPS-AUTHORIZATION-2: nPG/7ee5NNNGdgtRKfcx8t28Q9+z0L4WcpiJFx3WCvqhoH0a4m2mS3z/ivla
DEBUG: X-OPS-AUTHORIZATION-3: whjFQDpKNVUgM58bZCNsRt/QCrJphUGPkB9F4O2B6lQ5rx4viYiPZpPh47E5
DEBUG: X-OPS-AUTHORIZATION-4: EVoSBPn80d9Bb8X7ltOq9BQvOVbiXhQJSYPhGog1U/nv1pLYIHxRiJ5peJYM
DEBUG: X-OPS-AUTHORIZATION-5: V5O/LNymNwS1DmJIhJ4pWHqRY4i4vWbKBgbhWDLoqiZEQSHC8vaHXtrCNP0Y
DEBUG: X-OPS-AUTHORIZATION-6: 1ZRffX3LYYjKJiNWsQ7zylLxJgeDbhkY9/BT0xbpMg==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:47 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Decompressing gzip response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Creating new client for winnode
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as admin
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating POST to https://chef-server/organizations/hpe/clients
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Content-Type: application/json
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: admin
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:28:04Z
DEBUG: X-OPS-CONTENT-HASH: 3f5vwkHmvVp7QcZUpHGp21CCbeU=
DEBUG: X-OPS-AUTHORIZATION-1: gbtzUE85EVT53Wrq4s34X5nAhxwtVTRJ+Yn63vawKlhwUQjFXDLGRabH8EVg
DEBUG: X-OPS-AUTHORIZATION-2: 4ef0kfatPz17CGMOJfVhhmKmFqAIvj7OU/zbyr4HT+aJeipVS6ykpZlwq9Ly
DEBUG: X-OPS-AUTHORIZATION-3: peu22X/pyfmzbC0Bk/20BsEWRotALMxW67iYP7/XHbYHdst6X/Xr4t7O1MB+
DEBUG: X-OPS-AUTHORIZATION-4: BQG4FncuSEjlpaxFDDmZbvkWXPEBKWtam3ow/XQ8wmcH8WgH+XhujjF3k8bZ
DEBUG: X-OPS-AUTHORIZATION-5: MJeTQpshl+/cCqccWJiibJBm+20SsBiFuU+B6uIVserfZ/WRg3HVs1MXLOeI
DEBUG: X-OPS-AUTHORIZATION-6: PiRuISo+XOXhW+7VV6RoJBhERUndeLI5b11eRXkdfQ==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: Content-Length: 508
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 201 Created
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:48 GMT
DEBUG: content-type: application/json
DEBUG: content-length: 673
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: location: https://chef-server/organizations/hpe/clients/winnode
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Creating new node for winnode
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as winnode
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating PUT to https://chef-server/organizations/hpe/nodes/winnode
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Content-Type: application/json
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: winnode
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:28:05Z
DEBUG: X-OPS-CONTENT-HASH: 1Sai2Tl3mpzXwNEbTkvvZLhNnfY=
DEBUG: X-OPS-AUTHORIZATION-1: O3aj6cheTLtW7r/DKLdDmN1LIkxllrZpbZKmT5UGT6BO8y9FwaNPFjcrq/OO
DEBUG: X-OPS-AUTHORIZATION-2: 6BkApfER0J6lks6f45BkZkQscrmJYMigQniwmzFXDAWdIvM24imqP+MQGd6H
DEBUG: X-OPS-AUTHORIZATION-3: CH843j/mKejwnqJoVcrwC2QCx0FrSyfz1CU85iw+RXqsIsh/nLLQ2SHMqmeD
DEBUG: X-OPS-AUTHORIZATION-4: Vy+6EFnNCHr7HJIESA9hJ8PpLG86VpSqZcPkcdzrowdRLyqeIvy4rV3aCooR
DEBUG: X-OPS-AUTHORIZATION-5: PluN0hBwgIea4lm1kfOi3FX6+yuUM7QyPaKzXg2W1uzkwsls+xaYc6Q0h+kg
DEBUG: X-OPS-AUTHORIZATION-6: ZeE/qFPJ8u6ZfFYDG42sbcx8K4F9pOrHjqu1IllW8g==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: Content-Length: 185
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 404 Object Not Found
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:48 GMT
DEBUG: content-length: 38
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: ---- HTTP Response Body ----
DEBUG: {"error":["node 'winnode' not found"]}
DEBUG: ---- End HTTP Response Body -----
DEBUG: ---- HTTP Request Body ----
DEBUG: {"name":"winnode","chef_environment":"_default","json_class":"Chef::Node","automatic":{},"normal":{},"chef_type":"node","default":{},"override":{},"run_list":["recipe[learn_chef_iis]"]}
DEBUG: ---- End HTTP Request Body ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Expected JSON response, but got content-type ''
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
INFO: HTTP Request Returned 404 Object Not Found: error
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as winnode
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating POST to https://chef-server/organizations/hpe/nodes
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Content-Type: application/json
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-Ops-Server-API-Version: 1
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1;
DEBUG: X-OPS-USERID: winnode
DEBUG: X-OPS-TIMESTAMP: 2016-08-01T07:28:05Z
DEBUG: X-OPS-CONTENT-HASH: 1Sai2Tl3mpzXwNEbTkvvZLhNnfY=
DEBUG: X-OPS-AUTHORIZATION-1: SW969W6MJZc4R9/Q9whvaavZLnaSfNSL84jYZuJ15HqR0mc3Z62mBnSiwGhR
DEBUG: X-OPS-AUTHORIZATION-2: pYF2GL85CsiHeo94DGyXEJ44x7N3Vk7Wajbp8Tv7KcRDuB9bjmSrr6s+iSnB
DEBUG: X-OPS-AUTHORIZATION-3: 6xwu96EBKpAP+qWM9pNreXTPZRk0Xk72dxUjC2ZfHc/a9iMDITCC+0aAg9ah
DEBUG: X-OPS-AUTHORIZATION-4: OdpnZAWBZ0ezvU2Q3bM8XJGRFCRf394dBTpNiYUPLG5RQDiFR/+fIiK+oNz9
DEBUG: X-OPS-AUTHORIZATION-5: Uwg8wW/3xIBt52hTh9Q48hItduPkQp8rv1ozdicu/l00cll2gNhdw8oCzKd+
DEBUG: X-OPS-AUTHORIZATION-6: vJGGwjxO843higfNjvlBp++cj79L3wcjY0O0IWfO/g==
DEBUG: HOST: chef-server:443
DEBUG: X-REMOTE-REQUEST-ID: d09eeec5-9e2c-4ba7-b5c1-bfdbd9826c9b
DEBUG: Content-Length: 185
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 201 Created
DEBUG: server: openresty/1.9.7.2
DEBUG: date: Mon, 01 Aug 2016 07:16:48 GMT
DEBUG: content-type: application/json
DEBUG: content-length: 61
DEBUG: connection: close
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"}
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.8.0
DEBUG: location: https://chef-server/organizations/hpe/nodes/winnode
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Waiting for remote response before bootstrap.DEBUG: echo . & echo Response received.
DEBUG: node1[0FB198F2-4BC1-453B-927A-12B6EE7244E6] => :run_command[echo . & echo Response received.]
node1 .
node1 Response received.
DEBUG: node1[0FB198F2-4BC1-453B-927A-12B6EE7244E6] => :command_cleanup[echo . & echo Response received.]
DEBUG: node1[0FB198F2-4BC1-453B-927A-12B6EE7244E6] => :shell_close
Remote node responded after 0.02 minutes.
DEBUG: echo %PROCESSOR_ARCHITECTURE%
DEBUG: node1[4A9FF8BA-D31E-40C2-B622-1C53A438A121] => :run_command[echo %PROCESSOR_ARCHITECTURE%]
node1 AMD64
DEBUG: node1[4A9FF8BA-D31E-40C2-B622-1C53A438A121] => :command_cleanup[echo %PROCESSOR_ARCHITECTURE%]
DEBUG: node1[4A9FF8BA-D31E-40C2-B622-1C53A438A121] => :shell_close
Bootstrapping Chef on node1
DEBUG: Looking for bootstrap template in C:/Users/kolge/AppData/Local/chefdk/gem/ruby/2.1.0/gems/knife-windows-1.4.1/lib/chef/knife/bootstrap/templates
DEBUG: Looking for bootstrap template in C:/Users/kolge/learn-chef/chef-repo/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/kolge/.chef/bootstrap
DEBUG: Looking for bootstrap template in C:/Users/kolge/AppData/Local/chefdk/gem/ruby/2.1.0/gems/knife-windows-1.4.1/lib/chef/knife/bootstrap
DEBUG: Found bootstrap template in C:/Users/kolge/AppData/Local/chefdk/gem/ruby/2.1.0/gems/knife-windows-1.4.1/lib/chef/knife/bootstrap
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 1 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Author:: Seth Chisamore ^(^<[email protected]^>^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Copyright:: Copyright ^(c^) 2011-2016 Chef Software, Inc.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem License:: Apache License, Version 2.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^);) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem you may not use this file except in compliance with the License.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem You may obtain a copy of the License at) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem http://www.apache.org/licenses/LICENSE-2.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem See the License for the specific language governing permissions and) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem limitations under the License.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Use delayed environment expansion so that ERRORLEVEL can be evaluated with the) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem !ERRORLEVEL! syntax which evaluates at execution of the line of script, not when) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem the line is read. See help for the /E switch from cmd.exe /? .) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@setlocal ENABLEDELAYEDEXPANSION) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set BOOTSTRAP_DIRECTORY=C:\chef) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Checking for existing directory "%BOOTSTRAP_DIRECTORY%"...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST %BOOTSTRAP_DIRECTORY% ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Existing directory not found, creating.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@mkdir %BOOTSTRAP_DIRECTORY%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Existing directory found, skipping creation.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\wget.vbs ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = null) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* Vaguely attempt to handle file:// scheme urls by url unescaping and switching all) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* / into . Also assume that file:/// is a local absolute path and that file://^^^<foo^^^>) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* is possibly a network file path.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If InStr^^^(url, "file://"^^^) = 1 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.url = Unescape^^^(url^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If InStr^^^(url, "file:///"^^^) = 1 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Mid^^^(url, Len^^^("file:///"^^^) + 1^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Else) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Mid^^^(url, Len^^^("file:"^^^) + 1^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Replace^^^(sourcePath, "/", "\"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = CreateObject^^^("Scripting.FileSystemObject"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objFSO.Fileexists^^^(path^^^) Then objFSO.DeleteFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objFSO.CopyFile sourcePath, path, true)
DEBUG: node1[67BC3635-245F-424B-A516-32F2AEBF1356] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 1 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Author:: Seth Chisamore ^(^<[email protected]^>^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Copyright:: Copyright ^(c^) 2011-2016 Chef Software, Inc.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem License:: Apache License, Version 2.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^);) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem you may not use this file except in compliance with the License.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem You may obtain a copy of the License at) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem http://www.apache.org/licenses/LICENSE-2.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem See the License for the specific language governing permissions and) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem limitations under the License.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Use delayed environment expansion so that ERRORLEVEL can be evaluated with the) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem !ERRORLEVEL! syntax which evaluates at execution of the line of script, not when) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem the line is read. See help for the /E switch from cmd.exe /? .) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@setlocal ENABLEDELAYEDEXPANSION) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set BOOTSTRAP_DIRECTORY=C:\chef) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Checking for existing directory "%BOOTSTRAP_DIRECTORY%"...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST %BOOTSTRAP_DIRECTORY% ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Existing directory not found, creating.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@mkdir %BOOTSTRAP_DIRECTORY%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Existing directory found, skipping creation.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\wget.vbs ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = null) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* Vaguely attempt to handle file:// scheme urls by url unescaping and switching all) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* / into . Also assume that file:/// is a local absolute path and that file://^^^<foo^^^>) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* is possibly a network file path.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If InStr^^^(url, "file://"^^^) = 1 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.url = Unescape^^^(url^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If InStr^^^(url, "file:///"^^^) = 1 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Mid^^^(url, Len^^^("file:///"^^^) + 1^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Else) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Mid^^^(url, Len^^^("file:"^^^) + 1^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Replace^^^(sourcePath, "/", "\"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = CreateObject^^^("Scripting.FileSystemObject"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objFSO.Fileexists^^^(path^^^) Then objFSO.DeleteFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objFSO.CopyFile sourcePath, path, true)]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 1
DEBUG: node1[67BC3635-245F-424B-A516-32F2AEBF1356] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 1 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Author:: Seth Chisamore ^(^<[email protected]^>^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Copyright:: Copyright ^(c^) 2011-2016 Chef Software, Inc.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem License:: Apache License, Version 2.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Licensed under the Apache License, Version 2.0 ^(the "License"^);) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem you may not use this file except in compliance with the License.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem You may obtain a copy of the License at) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem http://www.apache.org/licenses/LICENSE-2.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Unless required by applicable law or agreed to in writing, software) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem distributed under the License is distributed on an "AS IS" BASIS,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem See the License for the specific language governing permissions and) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem limitations under the License.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Use delayed environment expansion so that ERRORLEVEL can be evaluated with the) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem !ERRORLEVEL! syntax which evaluates at execution of the line of script, not when) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem the line is read. See help for the /E switch from cmd.exe /? .) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@setlocal ENABLEDELAYEDEXPANSION) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set BOOTSTRAP_DIRECTORY=C:\chef) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Checking for existing directory "%BOOTSTRAP_DIRECTORY%"...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST %BOOTSTRAP_DIRECTORY% ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Existing directory not found, creating.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@mkdir %BOOTSTRAP_DIRECTORY%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Existing directory found, skipping creation.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\wget.vbs ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.url = WScript.Arguments.Named^^^("url"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.path = WScript.Arguments.Named^^^("path"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = null) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* Vaguely attempt to handle file:// scheme urls by url unescaping and switching all) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* / into . Also assume that file:/// is a local absolute path and that file://^^^<foo^^^>) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.'* is possibly a network file path.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If InStr^^^(url, "file://"^^^) = 1 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.url = Unescape^^^(url^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If InStr^^^(url, "file:///"^^^) = 1 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Mid^^^(url, Len^^^("file:///"^^^) + 1^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Else) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Mid^^^(url, Len^^^("file:"^^^) + 1^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.sourcePath = Replace^^^(sourcePath, "/", "\"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = CreateObject^^^("Scripting.FileSystemObject"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objFSO.Fileexists^^^(path^^^) Then objFSO.DeleteFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objFSO.CopyFile sourcePath, path, true)]
DEBUG: node1[67BC3635-245F-424B-A516-32F2AEBF1356] => :shell_close
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 2 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Else) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem http proxy is optional) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem attempt to read from HTTP_PROXY env var first) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.On Error Resume Next) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If NOT ^^^(objUserVariables^^^("HTTP_PROXY"^^^) = ""^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = objUserVariables^^^("HTTP_PROXY"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem fall back to named arg) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.ElseIf NOT ^^^(WScript.Arguments.Named^^^("proxy"^^^) = ""^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = WScript.Arguments.Named^^^("proxy"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If NOT isNull^^^(proxy^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem setProxy method is only available on ServerXMLHTTP 6.0+) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.setProxy 2, proxy) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.On Error Goto 0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.open "GET", url, false) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.send^^^(^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objXMLHTTP.Status = 200 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objADOStream = CreateObject^^^("ADODB.Stream"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Open) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Type = 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Write objXMLHTTP.ResponseBody) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Position = 0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Createobject^^^("Scripting.FileSystemObject"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objFSO.Fileexists^^^(path^^^) Then objFSO.DeleteFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.SaveToFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Close) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objADOStream = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\wget.ps1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.param^^^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. [String] $remoteUrl,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. [String] $localPath) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$ProxyUrl = $env:http_proxy;) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$webClient = new-object System.Net.WebClient;) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.if ^^^($ProxyUrl -ne ''^^^) {) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. $WebProxy = New-Object System.Net.WebProxy^^^($ProxyUrl,$true^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. $WebClient.Proxy = $WebProxy)
DEBUG: node1[644B5DBF-5428-4D87-BC2E-E627A9B2276A] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 2 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Else) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem http proxy is optional) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem attempt to read from HTTP_PROXY env var first) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.On Error Resume Next) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If NOT ^^^(objUserVariables^^^("HTTP_PROXY"^^^) = ""^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = objUserVariables^^^("HTTP_PROXY"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem fall back to named arg) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.ElseIf NOT ^^^(WScript.Arguments.Named^^^("proxy"^^^) = ""^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = WScript.Arguments.Named^^^("proxy"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If NOT isNull^^^(proxy^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem setProxy method is only available on ServerXMLHTTP 6.0+) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.setProxy 2, proxy) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.On Error Goto 0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.open "GET", url, false) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.send^^^(^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objXMLHTTP.Status = 200 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objADOStream = CreateObject^^^("ADODB.Stream"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Open) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Type = 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Write objXMLHTTP.ResponseBody) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Position = 0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Createobject^^^("Scripting.FileSystemObject"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objFSO.Fileexists^^^(path^^^) Then objFSO.DeleteFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.SaveToFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Close) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objADOStream = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\wget.ps1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.param^^^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. [String] $remoteUrl,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. [String] $localPath) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$ProxyUrl = $env:http_proxy;) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$webClient = new-object System.Net.WebClient;) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.if ^^^($ProxyUrl -ne ''^^^) {) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. $WebProxy = New-Object System.Net.WebProxy^^^($ProxyUrl,$true^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. $WebClient.Proxy = $WebProxy)]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 2
DEBUG: node1[644B5DBF-5428-4D87-BC2E-E627A9B2276A] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 2 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Else) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set wshShell = CreateObject^^^( "WScript.Shell" ^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objUserVariables = wshShell.Environment^^^("USER"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem http proxy is optional) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem attempt to read from HTTP_PROXY env var first) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.On Error Resume Next) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If NOT ^^^(objUserVariables^^^("HTTP_PROXY"^^^) = ""^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = objUserVariables^^^("HTTP_PROXY"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem fall back to named arg) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.ElseIf NOT ^^^(WScript.Arguments.Named^^^("proxy"^^^) = ""^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.proxy = WScript.Arguments.Named^^^("proxy"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If NOT isNull^^^(proxy^^^) Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.rem setProxy method is only available on ServerXMLHTTP 6.0+) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = CreateObject^^^("MSXML2.ServerXMLHTTP.6.0"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.setProxy 2, proxy) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.On Error Goto 0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.open "GET", url, false) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objXMLHTTP.send^^^(^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objXMLHTTP.Status = 200 Then) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objADOStream = CreateObject^^^("ADODB.Stream"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Open) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Type = 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Write objXMLHTTP.ResponseBody) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Position = 0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Createobject^^^("Scripting.FileSystemObject"^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.If objFSO.Fileexists^^^(path^^^) Then objFSO.DeleteFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objFSO = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.SaveToFile path) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.objADOStream.Close) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objADOStream = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Set objXMLHTTP = Nothing) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.End If) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\wget.ps1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.param^^^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. [String] $remoteUrl,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. [String] $localPath) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$ProxyUrl = $env:http_proxy;) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$webClient = new-object System.Net.WebClient;) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.if ^^^($ProxyUrl -ne ''^^^) {) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. $WebProxy = New-Object System.Net.WebProxy^^^($ProxyUrl,$true^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo. $WebClient.Proxy = $WebProxy)]
DEBUG: node1[644B5DBF-5428-4D87-BC2E-E627A9B2276A] => :shell_close
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 3 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.}) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$webClient.DownloadFile^^^($remoteUrl, $localPath^^^);) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Determine the version and the architecture) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@FOR /F "usebackq tokens=1-8 delims=.[] " %%A IN ^(`ver`^) DO ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinMajor=%%D) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinMinor=%%E) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinBuild=%%F) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Detected Windows Version %WinMajor%.%WinMinor% Build %WinBuild%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set LATEST_OS_VERSION_MAJOR=6) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set LATEST_OS_VERSION_MINOR=3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMajor% GTR %LATEST_OS_VERSION_MAJOR% goto VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMajor% EQU %LATEST_OS_VERSION_MAJOR% ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMinor% GTR %LATEST_OS_VERSION_MINOR% goto VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto Version%WinMajor%.%WinMinor%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If this is an unknown version of windows set the default) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Unknown version of Windows, assuming default of Windows %MACHINE_OS%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version5.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2003r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2012) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Currently Windows Server 2012 R2 is treated as equivalent to Windows Server 2012) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto Version6.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_ARCH=x86_64) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If user has provided the custom installation command for chef-client then execute it) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Install Chef using chef-client MSI installer) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "LOCAL_DESTINATION_MSI_PATH=%TEMP%\chef-client-latest.msi") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "CHEF_CLIENT_MSI_LOG_PATH=%TEMP%\chef-client-msi%RANDOM%.log") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Clear any pre-existing downloads)
DEBUG: node1[D165A831-00A5-40E7-A23B-9E23E7BA49A1] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 3 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.}) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$webClient.DownloadFile^^^($remoteUrl, $localPath^^^);) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Determine the version and the architecture) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@FOR /F "usebackq tokens=1-8 delims=.[] " %%A IN ^(`ver`^) DO ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinMajor=%%D) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinMinor=%%E) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinBuild=%%F) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Detected Windows Version %WinMajor%.%WinMinor% Build %WinBuild%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set LATEST_OS_VERSION_MAJOR=6) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set LATEST_OS_VERSION_MINOR=3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMajor% GTR %LATEST_OS_VERSION_MAJOR% goto VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMajor% EQU %LATEST_OS_VERSION_MAJOR% ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMinor% GTR %LATEST_OS_VERSION_MINOR% goto VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto Version%WinMajor%.%WinMinor%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If this is an unknown version of windows set the default) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Unknown version of Windows, assuming default of Windows %MACHINE_OS%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version5.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2003r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2012) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Currently Windows Server 2012 R2 is treated as equivalent to Windows Server 2012) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto Version6.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_ARCH=x86_64) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If user has provided the custom installation command for chef-client then execute it) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Install Chef using chef-client MSI installer) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "LOCAL_DESTINATION_MSI_PATH=%TEMP%\chef-client-latest.msi") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "CHEF_CLIENT_MSI_LOG_PATH=%TEMP%\chef-client-msi%RANDOM%.log") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Clear any pre-existing downloads)]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 3
DEBUG: node1[D165A831-00A5-40E7-A23B-9E23E7BA49A1] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 3 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.}) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.$webClient.DownloadFile^^^($remoteUrl, $localPath^^^);) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Determine the version and the architecture) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@FOR /F "usebackq tokens=1-8 delims=.[] " %%A IN ^(`ver`^) DO ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinMajor=%%D) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinMinor=%%E) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set WinBuild=%%F) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Detected Windows Version %WinMajor%.%WinMinor% Build %WinBuild%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set LATEST_OS_VERSION_MAJOR=6) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set LATEST_OS_VERSION_MINOR=3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMajor% GTR %LATEST_OS_VERSION_MAJOR% goto VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMajor% EQU %LATEST_OS_VERSION_MAJOR% ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if /i %WinMinor% GTR %LATEST_OS_VERSION_MINOR% goto VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto Version%WinMajor%.%WinMinor%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:VersionUnknown) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If this is an unknown version of windows set the default) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Unknown version of Windows, assuming default of Windows %MACHINE_OS%) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version5.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2003r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2008r2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_OS=2012) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Currently Windows Server 2012 R2 is treated as equivalent to Windows Server 2012) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:Version6.3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto Version6.2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:architecture_select) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MACHINE_ARCH=x86_64) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.goto install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.:install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If user has provided the custom installation command for chef-client then execute it) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Install Chef using chef-client MSI installer) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "LOCAL_DESTINATION_MSI_PATH=%TEMP%\chef-client-latest.msi") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "CHEF_CLIENT_MSI_LOG_PATH=%TEMP%\chef-client-msi%RANDOM%.log") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Clear any pre-existing downloads)]
DEBUG: node1[D165A831-00A5-40E7-A23B-9E23E7BA49A1] => :shell_close
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 4 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Checking for existing downloaded package at "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Found existing downloaded package, deleting.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@del /f /q "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Warning: Failed to delete pre-existing package with status code !ERRORLEVEL! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo No existing downloaded packages to delete.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If there is somehow a name collision, remove pre-existing log) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%CHEF_CLIENT_MSI_LOG_PATH%" del /f /q "%CHEF_CLIENT_MSI_LOG_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Attempting to download client package using PowerShell if available...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "REMOTE_SOURCE_MSI_URL=https://www.chef.io/chef/download?p=windows&pv=%MACHINE_OS%&m=%MACHINE_ARCH%&DownloadContext=PowerShell&v=12") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set powershell_download=powershell.exe -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File C:\chef\wget.ps1 "%REMOTE_SOURCE_MSI_URL%" "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo !powershell_download!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@call !powershell_download!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set DOWNLOAD_ERROR_STATUS=!ERRORLEVEL!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Failed PowerShell download with status code !DOWNLOAD_ERROR_STATUS! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if !DOWNLOAD_ERROR_STATUS!==0 set DOWNLOAD_ERROR_STATUS=2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Sometimes the error level is not set even when the download failed,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem so check for the file to be sure it is there -- if it is not, we will retry) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed download: download completed, but downloaded file not found ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.set DOWNLOAD_ERROR_STATUS=2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Download via PowerShell succeeded.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT %DOWNLOAD_ERROR_STATUS%==0 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Failed to download "%REMOTE_SOURCE_MSI_URL%" to "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Retrying download with cscript ...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%LOCAL_DESTINATION_MSI_PATH%" del /f /q "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "REMOTE_SOURCE_MSI_URL=https://www.chef.io/chef/download?p=windows&pv=%MACHINE_OS%&m=%MACHINE_ARCH%&v=12") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.cscript /nologo C:\chef\wget.vbs /url:"%REMOTE_SOURCE_MSI_URL%" /path:"%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Sometimes the error level is not set even when the download failed,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem so check for the file to be sure it is there.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed download: download completed, but downloaded file not found ^> "&2")
DEBUG: node1[99DDCA7B-E94F-48A4-85C1-D0746AE50CE0] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 4 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Checking for existing downloaded package at "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Found existing downloaded package, deleting.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@del /f /q "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Warning: Failed to delete pre-existing package with status code !ERRORLEVEL! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo No existing downloaded packages to delete.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If there is somehow a name collision, remove pre-existing log) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%CHEF_CLIENT_MSI_LOG_PATH%" del /f /q "%CHEF_CLIENT_MSI_LOG_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Attempting to download client package using PowerShell if available...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "REMOTE_SOURCE_MSI_URL=https://www.chef.io/chef/download?p=windows&pv=%MACHINE_OS%&m=%MACHINE_ARCH%&DownloadContext=PowerShell&v=12") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set powershell_download=powershell.exe -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File C:\chef\wget.ps1 "%REMOTE_SOURCE_MSI_URL%" "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo !powershell_download!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@call !powershell_download!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set DOWNLOAD_ERROR_STATUS=!ERRORLEVEL!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Failed PowerShell download with status code !DOWNLOAD_ERROR_STATUS! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if !DOWNLOAD_ERROR_STATUS!==0 set DOWNLOAD_ERROR_STATUS=2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Sometimes the error level is not set even when the download failed,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem so check for the file to be sure it is there -- if it is not, we will retry) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed download: download completed, but downloaded file not found ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.set DOWNLOAD_ERROR_STATUS=2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Download via PowerShell succeeded.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT %DOWNLOAD_ERROR_STATUS%==0 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Failed to download "%REMOTE_SOURCE_MSI_URL%" to "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Retrying download with cscript ...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%LOCAL_DESTINATION_MSI_PATH%" del /f /q "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "REMOTE_SOURCE_MSI_URL=https://www.chef.io/chef/download?p=windows&pv=%MACHINE_OS%&m=%MACHINE_ARCH%&v=12") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.cscript /nologo C:\chef\wget.vbs /url:"%REMOTE_SOURCE_MSI_URL%" /path:"%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Sometimes the error level is not set even when the download failed,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem so check for the file to be sure it is there.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed download: download completed, but downloaded file not found ^> "&2")]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 4
DEBUG: node1[99DDCA7B-E94F-48A4-85C1-D0746AE50CE0] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 4 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Checking for existing downloaded package at "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Found existing downloaded package, deleting.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@del /f /q "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Warning: Failed to delete pre-existing package with status code !ERRORLEVEL! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo No existing downloaded packages to delete.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem If there is somehow a name collision, remove pre-existing log) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%CHEF_CLIENT_MSI_LOG_PATH%" del /f /q "%CHEF_CLIENT_MSI_LOG_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Attempting to download client package using PowerShell if available...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "REMOTE_SOURCE_MSI_URL=https://www.chef.io/chef/download?p=windows&pv=%MACHINE_OS%&m=%MACHINE_ARCH%&DownloadContext=PowerShell&v=12") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set powershell_download=powershell.exe -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File C:\chef\wget.ps1 "%REMOTE_SOURCE_MSI_URL%" "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo !powershell_download!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@call !powershell_download!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set DOWNLOAD_ERROR_STATUS=!ERRORLEVEL!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Failed PowerShell download with status code !DOWNLOAD_ERROR_STATUS! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if !DOWNLOAD_ERROR_STATUS!==0 set DOWNLOAD_ERROR_STATUS=2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Sometimes the error level is not set even when the download failed,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem so check for the file to be sure it is there -- if it is not, we will retry) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed download: download completed, but downloaded file not found ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.set DOWNLOAD_ERROR_STATUS=2) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Download via PowerShell succeeded.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT %DOWNLOAD_ERROR_STATUS%==0 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Failed to download "%REMOTE_SOURCE_MSI_URL%" to "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Warning: Retrying download with cscript ...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if EXIST "%LOCAL_DESTINATION_MSI_PATH%" del /f /q "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set "REMOTE_SOURCE_MSI_URL=https://www.chef.io/chef/download?p=windows&pv=%MACHINE_OS%&m=%MACHINE_ARCH%&v=12") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.cscript /nologo C:\chef\wget.vbs /url:"%REMOTE_SOURCE_MSI_URL%" /path:"%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem Sometimes the error level is not set even when the download failed,) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@rem so check for the file to be sure it is there.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if NOT EXIST "%LOCAL_DESTINATION_MSI_PATH%" ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed download: download completed, but downloaded file not found ^> "&2")]
DEBUG: node1[99DDCA7B-E94F-48A4-85C1-D0746AE50CE0] => :shell_close
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 5 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Exiting without bootstrapping due to download failure. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.exit /b 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Download via cscript succeeded.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed to download "%REMOTE_SOURCE_MSI_URL%" with status code !ERRORLEVEL!. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Exiting without bootstrapping due to download failure. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.exit /b 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Installing downloaded client package...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.msiexec /qn /log "%CHEF_CLIENT_MSI_LOG_PATH%" /i "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MSIERRORCODE=!ERRORLEVEL!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Failed to install Chef Client MSI package in remote context with status code !MSIERRORCODE!.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: This may be due to a defect in operating system update KB2918614: http://support.microsoft.com/kb/2918614) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set OLDLOGLOCATION="%CHEF_CLIENT_MSI_LOG_PATH%-fail.log") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@move "%CHEF_CLIENT_MSI_LOG_PATH%" "!OLDLOGLOCATION!" ^> NUL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Saving installation log of failure at !OLDLOGLOCATION!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Retrying installation with local context...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /create /f /sc once /st 00:00:00 /tn chefclientbootstraptask /ru SYSTEM /rl HIGHEST /tr "cmd /c msiexec /qn /log '%CHEF_CLIENT_MSI_LOG_PATH%' /i '%LOCAL_DESTINATION_MSI_PATH%' & sleep 2 & waitfor /s %computername% /si chefclientinstalldone") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Failed to create Chef Client installation scheduled task with status code !ERRORLEVEL! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully created scheduled task to install Chef Client.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /run /tn chefclientbootstraptask) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Failed to execut Chef Client installation scheduled task with status code !ERRORLEVEL!. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully started Chef Client installation scheduled task.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Waiting for installation to complete -- this may take a few minutes...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.waitfor chefclientinstalldone /t 600) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Timed out waiting for Chef Client package to install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Finished waiting for Chef Client package to install.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /delete /f /tn chefclientbootstraptask ^> NUL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully installed Chef Client package.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Chef-client package failed to install with status code !ERRORLEVEL!. ^> "&2")
DEBUG: node1[8404E207-1A0D-44F7-8913-A392977A4611] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 5 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Exiting without bootstrapping due to download failure. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.exit /b 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Download via cscript succeeded.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed to download "%REMOTE_SOURCE_MSI_URL%" with status code !ERRORLEVEL!. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Exiting without bootstrapping due to download failure. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.exit /b 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Installing downloaded client package...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.msiexec /qn /log "%CHEF_CLIENT_MSI_LOG_PATH%" /i "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MSIERRORCODE=!ERRORLEVEL!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Failed to install Chef Client MSI package in remote context with status code !MSIERRORCODE!.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: This may be due to a defect in operating system update KB2918614: http://support.microsoft.com/kb/2918614) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set OLDLOGLOCATION="%CHEF_CLIENT_MSI_LOG_PATH%-fail.log") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@move "%CHEF_CLIENT_MSI_LOG_PATH%" "!OLDLOGLOCATION!" ^> NUL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Saving installation log of failure at !OLDLOGLOCATION!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Retrying installation with local context...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /create /f /sc once /st 00:00:00 /tn chefclientbootstraptask /ru SYSTEM /rl HIGHEST /tr "cmd /c msiexec /qn /log '%CHEF_CLIENT_MSI_LOG_PATH%' /i '%LOCAL_DESTINATION_MSI_PATH%' & sleep 2 & waitfor /s %computername% /si chefclientinstalldone") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Failed to create Chef Client installation scheduled task with status code !ERRORLEVEL! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully created scheduled task to install Chef Client.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /run /tn chefclientbootstraptask) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Failed to execut Chef Client installation scheduled task with status code !ERRORLEVEL!. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully started Chef Client installation scheduled task.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Waiting for installation to complete -- this may take a few minutes...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.waitfor chefclientinstalldone /t 600) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Timed out waiting for Chef Client package to install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Finished waiting for Chef Client package to install.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /delete /f /tn chefclientbootstraptask ^> NUL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully installed Chef Client package.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Chef-client package failed to install with status code !ERRORLEVEL!. ^> "&2")]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 5
DEBUG: node1[8404E207-1A0D-44F7-8913-A392977A4611] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 5 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Exiting without bootstrapping due to download failure. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.exit /b 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Download via cscript succeeded.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Failed to download "%REMOTE_SOURCE_MSI_URL%" with status code !ERRORLEVEL!. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Exiting without bootstrapping due to download failure. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.exit /b 1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Installing downloaded client package...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.msiexec /qn /log "%CHEF_CLIENT_MSI_LOG_PATH%" /i "%LOCAL_DESTINATION_MSI_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set MSIERRORCODE=!ERRORLEVEL!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Failed to install Chef Client MSI package in remote context with status code !MSIERRORCODE!.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: This may be due to a defect in operating system update KB2918614: http://support.microsoft.com/kb/2918614) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@set OLDLOGLOCATION="%CHEF_CLIENT_MSI_LOG_PATH%-fail.log") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@move "%CHEF_CLIENT_MSI_LOG_PATH%" "!OLDLOGLOCATION!" ^> NUL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Saving installation log of failure at !OLDLOGLOCATION!) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo WARNING: Retrying installation with local context...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /create /f /sc once /st 00:00:00 /tn chefclientbootstraptask /ru SYSTEM /rl HIGHEST /tr "cmd /c msiexec /qn /log '%CHEF_CLIENT_MSI_LOG_PATH%' /i '%LOCAL_DESTINATION_MSI_PATH%' & sleep 2 & waitfor /s %computername% /si chefclientinstalldone") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Failed to create Chef Client installation scheduled task with status code !ERRORLEVEL! ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully created scheduled task to install Chef Client.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /run /tn chefclientbootstraptask) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Failed to execut Chef Client installation scheduled task with status code !ERRORLEVEL!. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully started Chef Client installation scheduled task.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Waiting for installation to complete -- this may take a few minutes...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.waitfor chefclientinstalldone /t 600) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo ERROR: Timed out waiting for Chef Client package to install) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Finished waiting for Chef Client package to install.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@schtasks /delete /f /tn chefclientbootstraptask ^> NUL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Successfully installed Chef Client package.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@if ERRORLEVEL 1 ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Chef-client package failed to install with status code !ERRORLEVEL!. ^> "&2")]
DEBUG: node1[8404E207-1A0D-44F7-8913-A392977A4611] => :shell_close
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 6 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo See installation log for additional detail: %CHEF_CLIENT_MSI_LOG_PATH%. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Installation completed successfully) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.del /f /q "%CHEF_CLIENT_MSI_LOG_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@endlocal) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo off) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\client.pem ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----BEGIN RSA PRIVATE KEY-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MIIEpgIBAAKCAQEA3O3G52odvRuF5zEsSpWatpAO+Bn8N/E7hDCwt8CUAl/HaHat) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.G7ia/C2NkZ1HV4PoIzHMV4vizWcbaFx3Bn3s62Q+SyfQgPWQgPB24J9uo6/l4Z9C) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.8TBYy5GMKwVMYThNtwVlfviT12NO1e9VaCPnNerzwNuAZ8XKexIaRy4C7xcPHdlf) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.HgRx05nxB0oY8D5yTqRJ/tpDBBj1TJx1eQ3mFrhH05fMNpwhEbBnwxBSRgWovHd1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.eLd2C+dUZgtO+PQAV5f0n5YTOSwvOUfwJzSSiyEZ1fImT/RN6RP5vMQ8DkG5SBrX) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.daspbj/xJCBXGGPkjSOhUthyuPTmoXxR3TtGewIDAQABAoIBAQC/CoHoFJP4tfcZ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.TyUsradmXLYFBntaaKh9i5kUnFugnfASPiU9BmpGzKFRnH5XiAHRhTtdLOKHmbRS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.jzqBi5y2hC110czz5uT5CnbRkCwdMXqImq5JX/Q4u/hIL0G4A/b335u/qvY013QR) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.fO8OqZVCw5PaXjTwB1IrECFXEcuJsHycMIQ9OEfRH9ORVFrvbRrCenXoXKyCTERO) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.JgbYyU0y9A+aDoydpxjlkXv2Q6iusMJAUwDhboQHaqVYg5ZcQ1scWlxcq0fNq4Oz) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.9clK39cQehs6SV8RHIwzCjo334uhQI6UmHfoL6igYTgKYVOCNEEqcge+oz6ZaNt0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Vuzst2yJAoGBAO9ke/apYGIkCurBzpdo+dusrgWZ7G3HYdZNLAPyEvdR1Se1NyVR) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.wWVvwPtvPQe3PGyXHTXnV7G5IEWgpFbkkElaXJJJKP5UxT2SskHjw6B4h4UgJ7yE) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.JHEriY0SbnrntNh4WxT82E/t30ExnV0VkZWkDYt37q70AxUxJpjMI2C/AoGBAOxB) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.YoBpfWSb9bDLWTfsqcCmZHgx6HLsOPfbp/vUbuV6+VR7kZym/uxO2Mew5aQI7pIZ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.yqbCVwBRZGjx23dgvNpf4PCkOYTc3s8RkfwDIwW9U3gdI6odpi4CLd9x7bI4ySq1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.mSJrx5WVa4NsDW/Z+iYwOU5QWXetS2IeON6l141FAoGBAK8DHz1tBnG5N+H4XjiD) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.HmdjDrY5mYeIRBaPxKX9y6/Tu6mT6gT2iBTIZqVq5YtGgn5A27IUtx/O37EHiB2e) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.a320+ghYRAfroWcqX/ebs+EVPL4ui95eHOY/lgf0eaCQ1L2M/8mQL/P/S0A2LX1n) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.z08+6EgWHgD5k2diz3zVgOexAoGBAJu7ffKnlsB7Dbk8UdNLbZpQFGome9NFY0f+) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.wvx9S5x5M2E9Ev7wFZovXzZCpR07xgcIeUzzTeYnwMhspP5MBjDsgpodpsytyzEz) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.o8c7Shq+cgb7Lkc0xBYP2a0wrD6OsAw3KHpIEYfIttYqo7DXPs1tfFjjHhaFZOuI) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.gHRDXZMBAoGBAIxJm+sj/0aKtvafoKzPC7jAuPbvDuo1eNKKBfZ4vFza1NnWQxkS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.0UlpiKZsE4qqnf9porNaeBFcSkupwCBLAp8EPfB0maMNia3UM6DUcJYnNqn57Scg) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.+65/5ILI/DnzkFezR840JOZKZFlGpkrKVJnfye3OxLuQgFL+mpvmQBO7) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----END RSA PRIVATE KEY-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Writing validation key...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Validation key written.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo on) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.mkdir C:\chef\trusted_certs) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef/trusted_certs/chef-server.crt ^()
DEBUG: node1[D0567A4F-C61C-4F2E-BCF1-C79245826674] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 6 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo See installation log for additional detail: %CHEF_CLIENT_MSI_LOG_PATH%. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Installation completed successfully) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.del /f /q "%CHEF_CLIENT_MSI_LOG_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@endlocal) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo off) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\client.pem ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----BEGIN RSA PRIVATE KEY-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MIIEpgIBAAKCAQEA3O3G52odvRuF5zEsSpWatpAO+Bn8N/E7hDCwt8CUAl/HaHat) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.G7ia/C2NkZ1HV4PoIzHMV4vizWcbaFx3Bn3s62Q+SyfQgPWQgPB24J9uo6/l4Z9C) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.8TBYy5GMKwVMYThNtwVlfviT12NO1e9VaCPnNerzwNuAZ8XKexIaRy4C7xcPHdlf) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.HgRx05nxB0oY8D5yTqRJ/tpDBBj1TJx1eQ3mFrhH05fMNpwhEbBnwxBSRgWovHd1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.eLd2C+dUZgtO+PQAV5f0n5YTOSwvOUfwJzSSiyEZ1fImT/RN6RP5vMQ8DkG5SBrX) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.daspbj/xJCBXGGPkjSOhUthyuPTmoXxR3TtGewIDAQABAoIBAQC/CoHoFJP4tfcZ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.TyUsradmXLYFBntaaKh9i5kUnFugnfASPiU9BmpGzKFRnH5XiAHRhTtdLOKHmbRS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.jzqBi5y2hC110czz5uT5CnbRkCwdMXqImq5JX/Q4u/hIL0G4A/b335u/qvY013QR) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.fO8OqZVCw5PaXjTwB1IrECFXEcuJsHycMIQ9OEfRH9ORVFrvbRrCenXoXKyCTERO) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.JgbYyU0y9A+aDoydpxjlkXv2Q6iusMJAUwDhboQHaqVYg5ZcQ1scWlxcq0fNq4Oz) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.9clK39cQehs6SV8RHIwzCjo334uhQI6UmHfoL6igYTgKYVOCNEEqcge+oz6ZaNt0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Vuzst2yJAoGBAO9ke/apYGIkCurBzpdo+dusrgWZ7G3HYdZNLAPyEvdR1Se1NyVR) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.wWVvwPtvPQe3PGyXHTXnV7G5IEWgpFbkkElaXJJJKP5UxT2SskHjw6B4h4UgJ7yE) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.JHEriY0SbnrntNh4WxT82E/t30ExnV0VkZWkDYt37q70AxUxJpjMI2C/AoGBAOxB) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.YoBpfWSb9bDLWTfsqcCmZHgx6HLsOPfbp/vUbuV6+VR7kZym/uxO2Mew5aQI7pIZ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.yqbCVwBRZGjx23dgvNpf4PCkOYTc3s8RkfwDIwW9U3gdI6odpi4CLd9x7bI4ySq1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.mSJrx5WVa4NsDW/Z+iYwOU5QWXetS2IeON6l141FAoGBAK8DHz1tBnG5N+H4XjiD) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.HmdjDrY5mYeIRBaPxKX9y6/Tu6mT6gT2iBTIZqVq5YtGgn5A27IUtx/O37EHiB2e) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.a320+ghYRAfroWcqX/ebs+EVPL4ui95eHOY/lgf0eaCQ1L2M/8mQL/P/S0A2LX1n) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.z08+6EgWHgD5k2diz3zVgOexAoGBAJu7ffKnlsB7Dbk8UdNLbZpQFGome9NFY0f+) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.wvx9S5x5M2E9Ev7wFZovXzZCpR07xgcIeUzzTeYnwMhspP5MBjDsgpodpsytyzEz) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.o8c7Shq+cgb7Lkc0xBYP2a0wrD6OsAw3KHpIEYfIttYqo7DXPs1tfFjjHhaFZOuI) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.gHRDXZMBAoGBAIxJm+sj/0aKtvafoKzPC7jAuPbvDuo1eNKKBfZ4vFza1NnWQxkS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.0UlpiKZsE4qqnf9porNaeBFcSkupwCBLAp8EPfB0maMNia3UM6DUcJYnNqn57Scg) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.+65/5ILI/DnzkFezR840JOZKZFlGpkrKVJnfye3OxLuQgFL+mpvmQBO7) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----END RSA PRIVATE KEY-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Writing validation key...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Validation key written.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo on) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.mkdir C:\chef\trusted_certs) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef/trusted_certs/chef-server.crt ^()]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 6
DEBUG: node1[D0567A4F-C61C-4F2E-BCF1-C79245826674] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 6 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo See installation log for additional detail: %CHEF_CLIENT_MSI_LOG_PATH%. ^> "&2") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^) else ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Installation completed successfully) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.del /f /q "%CHEF_CLIENT_MSI_LOG_PATH%") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@endlocal) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo off) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\client.pem ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----BEGIN RSA PRIVATE KEY-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MIIEpgIBAAKCAQEA3O3G52odvRuF5zEsSpWatpAO+Bn8N/E7hDCwt8CUAl/HaHat) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.G7ia/C2NkZ1HV4PoIzHMV4vizWcbaFx3Bn3s62Q+SyfQgPWQgPB24J9uo6/l4Z9C) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.8TBYy5GMKwVMYThNtwVlfviT12NO1e9VaCPnNerzwNuAZ8XKexIaRy4C7xcPHdlf) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.HgRx05nxB0oY8D5yTqRJ/tpDBBj1TJx1eQ3mFrhH05fMNpwhEbBnwxBSRgWovHd1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.eLd2C+dUZgtO+PQAV5f0n5YTOSwvOUfwJzSSiyEZ1fImT/RN6RP5vMQ8DkG5SBrX) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.daspbj/xJCBXGGPkjSOhUthyuPTmoXxR3TtGewIDAQABAoIBAQC/CoHoFJP4tfcZ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.TyUsradmXLYFBntaaKh9i5kUnFugnfASPiU9BmpGzKFRnH5XiAHRhTtdLOKHmbRS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.jzqBi5y2hC110czz5uT5CnbRkCwdMXqImq5JX/Q4u/hIL0G4A/b335u/qvY013QR) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.fO8OqZVCw5PaXjTwB1IrECFXEcuJsHycMIQ9OEfRH9ORVFrvbRrCenXoXKyCTERO) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.JgbYyU0y9A+aDoydpxjlkXv2Q6iusMJAUwDhboQHaqVYg5ZcQ1scWlxcq0fNq4Oz) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.9clK39cQehs6SV8RHIwzCjo334uhQI6UmHfoL6igYTgKYVOCNEEqcge+oz6ZaNt0) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Vuzst2yJAoGBAO9ke/apYGIkCurBzpdo+dusrgWZ7G3HYdZNLAPyEvdR1Se1NyVR) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.wWVvwPtvPQe3PGyXHTXnV7G5IEWgpFbkkElaXJJJKP5UxT2SskHjw6B4h4UgJ7yE) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.JHEriY0SbnrntNh4WxT82E/t30ExnV0VkZWkDYt37q70AxUxJpjMI2C/AoGBAOxB) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.YoBpfWSb9bDLWTfsqcCmZHgx6HLsOPfbp/vUbuV6+VR7kZym/uxO2Mew5aQI7pIZ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.yqbCVwBRZGjx23dgvNpf4PCkOYTc3s8RkfwDIwW9U3gdI6odpi4CLd9x7bI4ySq1) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.mSJrx5WVa4NsDW/Z+iYwOU5QWXetS2IeON6l141FAoGBAK8DHz1tBnG5N+H4XjiD) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.HmdjDrY5mYeIRBaPxKX9y6/Tu6mT6gT2iBTIZqVq5YtGgn5A27IUtx/O37EHiB2e) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.a320+ghYRAfroWcqX/ebs+EVPL4ui95eHOY/lgf0eaCQ1L2M/8mQL/P/S0A2LX1n) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.z08+6EgWHgD5k2diz3zVgOexAoGBAJu7ffKnlsB7Dbk8UdNLbZpQFGome9NFY0f+) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.wvx9S5x5M2E9Ev7wFZovXzZCpR07xgcIeUzzTeYnwMhspP5MBjDsgpodpsytyzEz) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.o8c7Shq+cgb7Lkc0xBYP2a0wrD6OsAw3KHpIEYfIttYqo7DXPs1tfFjjHhaFZOuI) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.gHRDXZMBAoGBAIxJm+sj/0aKtvafoKzPC7jAuPbvDuo1eNKKBfZ4vFza1NnWQxkS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.0UlpiKZsE4qqnf9porNaeBFcSkupwCBLAp8EPfB0maMNia3UM6DUcJYnNqn57Scg) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.+65/5ILI/DnzkFezR840JOZKZFlGpkrKVJnfye3OxLuQgFL+mpvmQBO7) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----END RSA PRIVATE KEY-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Writing validation key...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo Validation key written.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo on) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.mkdir C:\chef\trusted_certs) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef/trusted_certs/chef-server.crt ^()]
DEBUG: node1[D0567A4F-C61C-4F2E-BCF1-C79245826674] => :shell_close
DEBUG: cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 7 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----BEGIN CERTIFICATE-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MIIDtzCCAp+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQGEwJVUzEQ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9uczEUMBIGA1UEAwwL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Y2hlZi1zZXJ2ZXIwHhcNMTYwNzI5MDcxMzU1WhcNMjYwNzI3MDcxMzU1WjBKMQsw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.CQYDVQQGEwJVUzEQMA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9u) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.czEUMBIGA1UEAwwLY2hlZi1zZXJ2ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.ggEKAoIBAQC3C0XBiRv7c9Lr6or0nNLafS3CR+DYPThTSdgAF7QmmkZ6REvMzcQo) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.GkY7WZeZec2mRvDsQbho2VsSx5UF6qW1E0jaopFRMFt3bwStE7erxIIxzTEmlM02) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.AHUGTNmFsFCFmdfc09xFThDPF1+htPQbJmDHNmqrZ0pb1p+5jpLSylX4TQu/wMPl) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.QR/jNYw5RfpwUv2VWfaDDdFJQutrUUI7jGAWB4XoCn3Jvj96zffKHrWycOmMBqL3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.0p5tSveyZafvs7tsc/jT/V8GX9JyMigI9lLwAqsvsin6kXJkSqCKuzhCfshgqWJH) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.v1l3XkfsBIE4HodxmhW7xK8z95NsLdfvAgMBAAGjgacwgaQwDwYDVR0TAQH/BAUw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.AwEB/zAdBgNVHQ4EFgQU/QmCGR4iD+0FEqhC6hnnx5C/+sEwcgYDVR0jBGswaYAU) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo./QmCGR4iD+0FEqhC6hnnx5C/+sGhTqRMMEoxCzAJBgNVBAYTAlVTMRAwDgYDVQQK) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.DAdZb3VDb3JwMRMwEQYDVQQLDApPcGVyYXRpb25zMRQwEgYDVQQDDAtjaGVmLXNl) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.cnZlcoIBADANBgkqhkiG9w0BAQsFAAOCAQEATsHNj78e4/xoPbrlIFzEyvklFpXS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.y4ZaLoEX4Re8w1krfSYjLu0UZyz/hL5c4GZu8AFX81OfTaOUrL96IQFJLjmlvVI5) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.pXD/cdAKEOJQdbFD6J5szDYFC41S0R96TG73CP44aZBKY+Pcd4wA25rpK6clPkLd) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.SI+d/+4yNLPBEp2aMaBfUe8VQMzFtJpT4PEQR9eWXqEno3fNfM+sPZ2KIMH/WOxW) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.yf14h4Ww41sIO+OB/McJcHyt5WvQTeNCdfD330FMvSxDkTMUEw1brmfu64IO9ktx) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.UK4MNEo4Eh/7ucQdLgirOyF1SOX5uq82COB7lJZTvIjkvGSDEjgxNNbjZw==) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----END CERTIFICATE-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\client.rb ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.log_level :info) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.log_location STDOUT) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.chef_server_url "https://chef-server/organizations/hpe") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.validation_client_name "chef-validator") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.file_cache_path "c:/chef/cache") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.file_backup_path "c:/chef/backup") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.cache_options ^^^({:path =^^^> "c:/chef/cache/checksums", :skip_expires =^^^> true}^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.node_name "winnode") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.trusted_certs_dir "c:/chef/trusted_certs") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\first-boot.json ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.{"run_list":["recipe[learn_chef_iis]"]}) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Starting chef to bootstrap the node...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.SET "PATH=%PATH%;C:\ruby\bin;C:\opscode\chef\bin;C:\opscode\chef\embedded\bin") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.chef-client -c c:/chef/client.rb -j c:/chef/first-boot.json) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.)
DEBUG: node1[071E5AAE-52C7-4E04-9216-243449291683] => :run_command[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 7 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----BEGIN CERTIFICATE-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MIIDtzCCAp+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQGEwJVUzEQ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9uczEUMBIGA1UEAwwL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Y2hlZi1zZXJ2ZXIwHhcNMTYwNzI5MDcxMzU1WhcNMjYwNzI3MDcxMzU1WjBKMQsw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.CQYDVQQGEwJVUzEQMA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9u) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.czEUMBIGA1UEAwwLY2hlZi1zZXJ2ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.ggEKAoIBAQC3C0XBiRv7c9Lr6or0nNLafS3CR+DYPThTSdgAF7QmmkZ6REvMzcQo) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.GkY7WZeZec2mRvDsQbho2VsSx5UF6qW1E0jaopFRMFt3bwStE7erxIIxzTEmlM02) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.AHUGTNmFsFCFmdfc09xFThDPF1+htPQbJmDHNmqrZ0pb1p+5jpLSylX4TQu/wMPl) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.QR/jNYw5RfpwUv2VWfaDDdFJQutrUUI7jGAWB4XoCn3Jvj96zffKHrWycOmMBqL3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.0p5tSveyZafvs7tsc/jT/V8GX9JyMigI9lLwAqsvsin6kXJkSqCKuzhCfshgqWJH) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.v1l3XkfsBIE4HodxmhW7xK8z95NsLdfvAgMBAAGjgacwgaQwDwYDVR0TAQH/BAUw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.AwEB/zAdBgNVHQ4EFgQU/QmCGR4iD+0FEqhC6hnnx5C/+sEwcgYDVR0jBGswaYAU) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo./QmCGR4iD+0FEqhC6hnnx5C/+sGhTqRMMEoxCzAJBgNVBAYTAlVTMRAwDgYDVQQK) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.DAdZb3VDb3JwMRMwEQYDVQQLDApPcGVyYXRpb25zMRQwEgYDVQQDDAtjaGVmLXNl) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.cnZlcoIBADANBgkqhkiG9w0BAQsFAAOCAQEATsHNj78e4/xoPbrlIFzEyvklFpXS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.y4ZaLoEX4Re8w1krfSYjLu0UZyz/hL5c4GZu8AFX81OfTaOUrL96IQFJLjmlvVI5) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.pXD/cdAKEOJQdbFD6J5szDYFC41S0R96TG73CP44aZBKY+Pcd4wA25rpK6clPkLd) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.SI+d/+4yNLPBEp2aMaBfUe8VQMzFtJpT4PEQR9eWXqEno3fNfM+sPZ2KIMH/WOxW) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.yf14h4Ww41sIO+OB/McJcHyt5WvQTeNCdfD330FMvSxDkTMUEw1brmfu64IO9ktx) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.UK4MNEo4Eh/7ucQdLgirOyF1SOX5uq82COB7lJZTvIjkvGSDEjgxNNbjZw==) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----END CERTIFICATE-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\client.rb ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.log_level :info) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.log_location STDOUT) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.chef_server_url "https://chef-server/organizations/hpe") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.validation_client_name "chef-validator") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.file_cache_path "c:/chef/cache") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.file_backup_path "c:/chef/backup") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.cache_options ^^^({:path =^^^> "c:/chef/cache/checksums", :skip_expires =^^^> true}^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.node_name "winnode") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.trusted_certs_dir "c:/chef/trusted_certs") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\first-boot.json ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.{"run_list":["recipe[learn_chef_iis]"]}) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Starting chef to bootstrap the node...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.SET "PATH=%PATH%;C:\ruby\bin;C:\opscode\chef\bin;C:\opscode\chef\embedded\bin") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.chef-client -c c:/chef/client.rb -j c:/chef/first-boot.json) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.)]
node1 Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-9936-1470036488.bat" chunk 7
DEBUG: node1[071E5AAE-52C7-4E04-9216-243449291683] => :command_cleanup[cmd.exe /C echo Rendering "%TEMP%\bootstrap-9936-1470036488.bat" chunk 7 && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----BEGIN CERTIFICATE-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MIIDtzCCAp+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQGEwJVUzEQ) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.MA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9uczEUMBIGA1UEAwwL) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.Y2hlZi1zZXJ2ZXIwHhcNMTYwNzI5MDcxMzU1WhcNMjYwNzI3MDcxMzU1WjBKMQsw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.CQYDVQQGEwJVUzEQMA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9u) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.czEUMBIGA1UEAwwLY2hlZi1zZXJ2ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.ggEKAoIBAQC3C0XBiRv7c9Lr6or0nNLafS3CR+DYPThTSdgAF7QmmkZ6REvMzcQo) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.GkY7WZeZec2mRvDsQbho2VsSx5UF6qW1E0jaopFRMFt3bwStE7erxIIxzTEmlM02) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.AHUGTNmFsFCFmdfc09xFThDPF1+htPQbJmDHNmqrZ0pb1p+5jpLSylX4TQu/wMPl) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.QR/jNYw5RfpwUv2VWfaDDdFJQutrUUI7jGAWB4XoCn3Jvj96zffKHrWycOmMBqL3) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.0p5tSveyZafvs7tsc/jT/V8GX9JyMigI9lLwAqsvsin6kXJkSqCKuzhCfshgqWJH) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.v1l3XkfsBIE4HodxmhW7xK8z95NsLdfvAgMBAAGjgacwgaQwDwYDVR0TAQH/BAUw) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.AwEB/zAdBgNVHQ4EFgQU/QmCGR4iD+0FEqhC6hnnx5C/+sEwcgYDVR0jBGswaYAU) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo./QmCGR4iD+0FEqhC6hnnx5C/+sGhTqRMMEoxCzAJBgNVBAYTAlVTMRAwDgYDVQQK) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.DAdZb3VDb3JwMRMwEQYDVQQLDApPcGVyYXRpb25zMRQwEgYDVQQDDAtjaGVmLXNl) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.cnZlcoIBADANBgkqhkiG9w0BAQsFAAOCAQEATsHNj78e4/xoPbrlIFzEyvklFpXS) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.y4ZaLoEX4Re8w1krfSYjLu0UZyz/hL5c4GZu8AFX81OfTaOUrL96IQFJLjmlvVI5) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.pXD/cdAKEOJQdbFD6J5szDYFC41S0R96TG73CP44aZBKY+Pcd4wA25rpK6clPkLd) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.SI+d/+4yNLPBEp2aMaBfUe8VQMzFtJpT4PEQR9eWXqEno3fNfM+sPZ2KIMH/WOxW) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.yf14h4Ww41sIO+OB/McJcHyt5WvQTeNCdfD330FMvSxDkTMUEw1brmfu64IO9ktx) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.UK4MNEo4Eh/7ucQdLgirOyF1SOX5uq82COB7lJZTvIjkvGSDEjgxNNbjZw==) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.-----END CERTIFICATE-----) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\client.rb ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.log_level :info) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.log_location STDOUT) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.chef_server_url "https://chef-server/organizations/hpe") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.validation_client_name "chef-validator") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.file_cache_path "c:/chef/cache") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.file_backup_path "c:/chef/backup") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.cache_options ^^^({:path =^^^> "c:/chef/cache/checksums", :skip_expires =^^^> true}^^^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.node_name "winnode") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.trusted_certs_dir "c:/chef/trusted_certs") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^> C:\chef\first-boot.json ^() && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.echo.{"run_list":["recipe[learn_chef_iis]"]}) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.^)) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.@echo Starting chef to bootstrap the node...) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.SET "PATH=%PATH%;C:\ruby\bin;C:\opscode\chef\bin;C:\opscode\chef\embedded\bin") && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.chef-client -c c:/chef/client.rb -j c:/chef/first-boot.json) && >> "%TEMP%\bootstrap-9936-1470036488.bat" (echo.)]
DEBUG: node1[071E5AAE-52C7-4E04-9216-243449291683] => :shell_close
DEBUG: cmd.exe /C "%TEMP%\bootstrap-9936-1470036488.bat"
DEBUG: node1[C12DF3E0-973E-4E61-AF19-C7BCC3B42B0E] => :run_command[cmd.exe /C "%TEMP%\bootstrap-9936-1470036488.bat"]
DEBUG: node1[C12DF3E0-973E-4E61-AF19-C7BCC3B42B0E] => :command_cleanup[cmd.exe /C "%TEMP%\bootstrap-9936-1470036488.bat"]
DEBUG: node1[C12DF3E0-973E-4E61-AF19-C7BCC3B42B0E] => :shell_close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment