s3_file
s3_file copied to clipboard
Pure Ruby Chef LWRP for pulling files from S3
here is the stack trace: [warning] The response contained in an RestClient::Exception is now a RestClient::Response instead of a Net::HTTPResponse, please update your code [2018-09-23T00:07:23+00:00] WARN: {"x-amz-request-id"=>["A357B"], "x-amz-id-2"=>["/GyhF5cVm9IGsK2tjL6Wc="], "content-type"=>["application/xml"], "transfer-encoding"=>["chunked"],...
Hi, I am using s3_file in my recipe [in opsworks] but it keeps failing. Logs point that its unable to fetch the rest-client gem. -- ERROR: chef_gem[rest-client] (s3_file::dependencies line 1)...
Hello, I'm having an issue where, no matter what, any `notifies` specified in a `s3_file` block runs every time Chef is run, even if the `s3_file` resource is up-to-date. Also,...
I just updated chefdk to: [chefdk-2.3.4-1.el7.x86_64.rpm](https://packages.chef.io/files/stable/chefdk/2.3.4/el/7/chefdk-2.3.4-1.el7.x86_64.rpm) ``` Recipe: s3_file::dependencies * chef_gem[rest-client] action install (up to date) [...] Unable to activate rest-client-1.7.3, because mime-types-3.1 conflicts with mime-types (< 3.0, >= 1.16)...
As title says. Can't download files that are server side encrypted in S3 using KMS. The CLI supports this if one sets the following: ``` aws configure set s3.signature_version s3v4...
Update this to latest.
rest-client 2.0 is probably more suited for this as it has better respect for NO_PROXY and HTTP_PROXY.
s3_file does not work with public s3 buckets.
``` s3_file '/var/lib/tomcat7/webapps/ROOT.war' do remote_path 'test' bucket 'test' action :create notifies :stop, 'service[tomcat7 stop]', :before end ``` throws whyrun not supported
We're running s3_file on a non EC2 instance that has /root/.aws/config and /root/.aws/credentials filled in with a default profile to simulate having an IAM role best we can. s3_file doesn't...