On Wednesday, June 19, 2013 at 11:49 AM, Jorge Bianquetti wrote:
Ohai!I've been readingimplemented something like this:local = "some_local_file"remote = "pre-signed_S3_url"remote_file local dosource remoteaction :nothingendhttp_request "HEAD #{remote}" domessage ""url remoteaction :headif File.exists?(local)headers "If-Modified-Since" => File.mtime(local).httpdateendnotifies :create, "remote_file[local]", :immediatelyendI get this response from chef-client:FATAL: Net::HTTPServerException:http_request[HEAD(some::backend line 140) had an error: Net::HTTPServerException: 403"Forbidden"I supposed this an Chef issue, because all it's fine when I run:Chef's versions on servers are 10.26.0 (soon, migration to chef11)Thanks!
Archive powered by MHonArc 2.6.16.