Skip to content

Instantly share code, notes, and snippets.

@miketheman miketheman/run1.log
Created Jun 30, 2014

Embed
What would you like to do?
Chef remote_file resource against a Raw GitHub file
INFO: remote_file[/usr/local/bin/ps_mem] created file /usr/local/bin/ps_mem
DEBUG: remote_file[/usr/local/bin/ps_mem] checking for changes
DEBUG: Cache control headers: {}
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: date: Mon, 30 Jun 2014 19:30:27 GMT
DEBUG: server: Apache
DEBUG: content-security-policy: default-src 'none'
DEBUG: access-control-allow-origin: https://render.githubusercontent.com
DEBUG: x-xss-protection: 1; mode=block
DEBUG: x-frame-options: deny
DEBUG: x-content-type-options: nosniff
DEBUG: strict-transport-security: max-age=31536000
DEBUG: etag: "64d86a121a11f2ead5cfff2e2702e0ab3f4441f6"
DEBUG: content-type: text/plain; charset=utf-8
DEBUG: cache-control: max-age=300
DEBUG: content-encoding: gzip
DEBUG: content-length: 5963
DEBUG: accept-ranges: bytes
DEBUG: via: 1.1 varnish
DEBUG: x-served-by: cache-at51-ATL
DEBUG: x-cache: MISS
DEBUG: x-cache-hits: 0
DEBUG: vary: Authorization,Accept-Encoding
DEBUG: expires: Mon, 30 Jun 2014 19:35:27 GMT
DEBUG: source-age: 0
DEBUG: connection: close
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Streaming download from https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py to tempfile /tmp/chef-rest20140630-1324-zt0a7l
DEBUG: Initializing gzip stream deflator
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::GzipInflater#handle_chunk
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::GzipInflater#handle_chunk
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
DEBUG: Creating directory /var/chef/cache/remote_file
DEBUG: calculating checksum of /tmp/chef-rest20140630-1324-zt0a7l to compare with
DEBUG: running: diff -u /usr/local/bin/ps_mem /tmp/chef-rest20140630-1324-zt0a7l
DEBUG: reading modes from /usr/local/bin/ps_mem file
DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rest20140630-1324-zt0a7l
DEBUG: moving temporary file /tmp/chef-rest20140630-1324-zt0a7l into place at /usr/local/bin/ps_mem
INFO: remote_file[/usr/local/bin/ps_mem] updated file contents /usr/local/bin/ps_mem
DEBUG: found current_mode == nil, so we are creating a new file, updating mode
DEBUG: found current_mode == nil, so we are creating a new file, updating mode
DEBUG: found current_uid == nil, so we are creating a new file, updating owner
DEBUG: found current_gid == nil, so we are creating a new file, updating group
DEBUG: found current_uid == nil, so we are creating a new file, updating owner
INFO: remote_file[/usr/local/bin/ps_mem] owner changed to 0
DEBUG: found current_gid == nil, so we are creating a new file, updating group
INFO: remote_file[/usr/local/bin/ps_mem] group changed to 0
DEBUG: found current_mode == nil, so we are creating a new file, updating mode
INFO: remote_file[/usr/local/bin/ps_mem] mode changed to 755
INFO: Processing remote_file[/usr/local/bin/ps_mem] action create (dd-base::packages line 19)
DEBUG: remote_file[/usr/local/bin/ps_mem] checksumming file at /usr/local/bin/ps_mem.
DEBUG: remote_file[/usr/local/bin/ps_mem] checking for changes
DEBUG: Cache control headers: {"if-modified-since"=>"Mon, 30 Jun 2014 19:30:27 GMT", "if-none-match"=>"\"64d86a121a11f2ead5cfff2e2702e0ab3f4441f6\""}
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: if-modified-since: Mon, 30 Jun 2014 19:30:27 GMT
DEBUG: if-none-match: "64d86a121a11f2ead5cfff2e2702e0ab3f4441f6"
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: date: Mon, 30 Jun 2014 19:52:36 GMT
DEBUG: server: Apache
DEBUG: content-security-policy: default-src 'none'
DEBUG: access-control-allow-origin: https://render.githubusercontent.com
DEBUG: x-xss-protection: 1; mode=block
DEBUG: x-frame-options: deny
DEBUG: x-content-type-options: nosniff
DEBUG: strict-transport-security: max-age=31536000
DEBUG: etag: "64d86a121a11f2ead5cfff2e2702e0ab3f4441f6"
DEBUG: content-type: text/plain; charset=utf-8
DEBUG: cache-control: max-age=300
DEBUG: content-encoding: gzip
DEBUG: content-length: 5963
DEBUG: accept-ranges: bytes
DEBUG: via: 1.1 varnish
DEBUG: x-served-by: cache-at52-ATL
DEBUG: x-cache: MISS
DEBUG: x-cache-hits: 0
DEBUG: vary: Authorization,Accept-Encoding
DEBUG: expires: Mon, 30 Jun 2014 19:57:36 GMT
DEBUG: source-age: 0
DEBUG: connection: close
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Streaming download from https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py to tempfile /tmp/chef-rest20140630-1960-1wt57mm
DEBUG: Initializing gzip stream deflator
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::GzipInflater#handle_chunk
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk
DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::GzipInflater#handle_chunk
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
DEBUG: calculating checksum of /tmp/chef-rest20140630-1960-1wt57mm to compare with d5856de8f1a56a18c5e6c15cd529ad070a63a1d789c8286a3567371b069d82af
DEBUG: found target_mode == current_mode, not updating mode
DEBUG: found target_uid == current_uid, not updating owner
DEBUG: found target_gid == current_gid, not updating group
INFO: Processing remote_file[/usr/local/bin/ps_mem] action create (dd-base::packages line 19)
DEBUG: remote_file[/usr/local/bin/ps_mem] checksumming file at /usr/local/bin/ps_mem.
DEBUG: remote_file[/usr/local/bin/ps_mem] checking for changes
DEBUG: Cache control headers: {"if-none-match"=>"\"64d86a121a11f2ead5cfff2e2702e0ab3f4441f6\""}
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: if-none-match: "64d86a121a11f2ead5cfff2e2702e0ab3f4441f6"
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 304 Not Modified
DEBUG: date: Mon, 30 Jun 2014 19:55:31 GMT
DEBUG: server: Apache
DEBUG: via: 1.1 varnish
DEBUG: last-modified: Mon, 30 Jun 2014 19:55:31 GMT
DEBUG: cache-control: max-age=300
DEBUG: etag: "64d86a121a11f2ead5cfff2e2702e0ab3f4441f6"
DEBUG: x-served-by: cache-jfk1027-JFK
DEBUG: x-cache: MISS
DEBUG: x-cache-hits: 0
DEBUG: vary: Authorization,Accept-Encoding
DEBUG: expires: Mon, 30 Jun 2014 20:00:31 GMT
DEBUG: content-length: 0
DEBUG: connection: close
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
DEBUG: No content-length information collected for the streamed download, cannot identify streamed download.
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
DEBUG: found target_mode == current_mode, not updating mode
DEBUG: found target_uid == current_uid, not updating owner
DEBUG: found target_gid == current_gid, not updating group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.