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

hipsnip-s3cmd (1) Versions 1.0.0

Installs/Configures s3cmd for a given set of users

Policyfile
Berkshelf
Knife
cookbook 'hipsnip-s3cmd', '~> 1.0.0', :supermarket
cookbook 'hipsnip-s3cmd', '~> 1.0.0'
knife supermarket install hipsnip-s3cmd
knife supermarket download hipsnip-s3cmd
README
Dependencies
Quality 33%

Description Build Status

A simple recipe for installing the s3cmd tool using the default package manager on the system.
It then creates configuration files for the list of users defined in the attributes (see below).

Requirements

A system with the "s3cmd" package available. Tested on Ubuntu 12.04 with Chef 10.18 and 11.4.
Assumed to work on other Debian-based distros as well.

Attributes

['s3cmd']['users'] = The list of Users to create the ".s3cfg" file for (defaults to ["root"])
['s3cmd']['bucket_location'] = The S3 zone for the buckets - defaults to "EU"
['s3cmd']['access_key'] = AWS access key
['s3cmd']['secret_key'] = AWS secret key

Users that are listed, but not present on the system will be ignored.

Usage

Make sure you set your credentials in ['s3cmd']['access_key'] and ['s3cmd']['secret_key'], and then include hipsnip-s3cmd::default
in your run list.

Development

Please refer to the Readme here

License and Author

Author:: Adam Borocz (on GitHub)

Copyright:: 2013, HipSnip Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

deploy_s3 Applicable Versions

Collaborator Number Metric
            

1.0.0 passed this metric

Contributing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.0 failed this metric

FC064: Ensure issues_url is set in metadata: hipsnip-s3cmd/metadata.rb:1
FC065: Ensure source_url is set in metadata: hipsnip-s3cmd/metadata.rb:1
FC066: Ensure chef_version is set in metadata: hipsnip-s3cmd/metadata.rb:1
FC069: Ensure standardized license defined in metadata: hipsnip-s3cmd/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: hipsnip-s3cmd/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number