cloudcli-cookbook
cloudcli-cookbook copied to clipboard
Cookbook which installs and configures cloud cli tools
This used to work, and I haven't touched the codebase in a while. but today, running with kitchenci to test in a fresh Ubuntu 16.04 VM, this part of the...
How do i upload a file to an S3 bucket?
tryng to "put" / upload a tar.gz file to s3: Resource Declaration: # In /var/chef/cache/cookbooks/s3backup/recipes/default.rb cloudcli_aws_s3_file "#{chef_file}.tar.gz" do aws_access_key_id "AAAAAAAAAAAAAAAA" aws_secret_access_key "BBBBBBBBBBBBBBBBBBBB" region 'us-east-1' bucket "alpha-team-share" key "#{backup_dir}.tar.gz" timeout 1200...
Ran into an interesting issue today. cloudcli cookbook 1.0.0 chef-client 12.19.36 All cloudcli cookbook default settings on a CentOS 6.8 AWS VM: ``` Recipe: cloudcli::_aws_linux * yum_package[groff] action install (up...
EPEL for CentOS 7 has recently and successfully activated an "awscli" RPM. I've tested it, it's workable, and it's more stable to work from an RPM for these operating systems...
https://github.com/cmlicata/cloudcli-cookbook/blob/master/providers/aws_s3_file.rb#L79 Proxy ENV settings are stripped from environment. aws-cli honors `http_proxy`, `https_proxy`, and `no_proxy` which are the same used by Chef: https://docs.chef.io/proxies.html These environment variables should be retained.