Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

s3_dir (10) Versions 1.0.1

Installs/Configures s3_dir

Policyfile
Berkshelf
Knife
cookbook 's3_dir', '= 1.0.1', :supermarket
cookbook 's3_dir', '= 1.0.1'
knife supermarket install s3_dir
knife supermarket download s3_dir
README
Dependencies
Quality -%

s3_dir

This cookbook leverages s3_file to recursively download all of the files in a specified S3 "directory."

Usage

s3_dir Resource

s3_dir '/local/path' do
  bucket            's3.bucket.name'
  dir               's3 directory'
  owner             'local_owner'
  group             'local_group'
  mode              0644
  recursive         true
  access_key_id     ACCESS_KEY
  secret_access_key SECRET_ACCESS_KEY
end
  • name - The local path where the files should be downloaded to
  • bucket - The S3 bucket name you want to download from
  • dir - The directory within the bucket where the files will come from
  • owner - What you want the local file/directory owner to be set to
  • group - What you want the local file/directory group to be set to
  • mode - File permissions. Created directories will inherit these permissions plus executability.
  • recursive - Whether parent directories of name should be created recursively
  • access_key_id - AWS Access Key ID
  • secret_access_key - AWS Secret Key

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: EverTrue, Inc. (devops@evertrue.com)

Dependent cookbooks

s3_file >= 2.3.0
et_fog >= 1.0.5

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found