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

RSS

AmazonEC2Tag (1) Versions 1.0.0

Chef LWRP for setting Amazon Web Services EC2 Tags.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'AmazonEC2Tag', '~> 1.0.0'
cookbook 'AmazonEC2Tag', '~> 1.0.0', :supermarket
knife cookbook site install AmazonEC2Tag
knife cookbook site download AmazonEC2Tag
README
Dependencies
Quality 33%
= DESCRIPTION: Chef Light-Weight Resource Provider for setting Amazon Web Services EC2 Tags. = REQUIREMENTS: Test on Chef 10.4 but should work on 10.0. Only requirements are API access to Amazon EC2 API with an API Access Key and API Secret Key. = USAGE: You can simply 'include_recipe "AmazonEC2Tag"' or copy the library, provider and resource into your cookbook. Included is a default.rb recipe which demonstrates usage of the resource/provider setting an EC2 Tag in a Chef recipe. Action(s): - create - Create the Tag key. Create is also used to overwrite the currently set value for the key. Attribute Parameter(s): - aws_access_key - API Access Key used for AWS EC2 authentication. - aws_secret_access_key - API Secret Key used for AWS EC2 authentication. - value - The value of the key you wish to set. Here is where you would put your string for the tag. - instance_id - The AWS EC2 instance ID that you wish to set the tag. == Example AmazonEC2_ec2tag "Name" do aws_access_key aws_properties["amazon-ec2"]["access_key"] aws_secret_access_key aws_properties["amazon-ec2"]["private_key"] value "Production Adobe ADEP Web Experience Manager" instance_id node["ec2"]["instance_id"] # This will set the tag to the current node instance ID. action :create end = Known Issues There is an outstanding issue with Ruby gem installations and Chef cookbooks that contain a hyphen in name. I.e. You cannot name this cookbook Amazon-EC2 or it will fail to properly work. Reference ticket: http://tickets.opscode.com/browse/CHEF-2454 = License and Author Author: Michael Hodgdon <mhodgdon@citytechinc.com> Author: Christian Vozar <cvozar@citytechinc.com> Copyright 2011, CITYTECH, Inc. 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

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass 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

FC016: LWRP does not declare a default action: AmazonEC2Tag/resources/ec2tag.rb:1
FC017: LWRP does not notify when updated: AmazonEC2Tag/providers/ec2tag.rb:3
FC025: Prefer chef_gem to compile-time gem install: AmazonEC2Tag/recipes/default.rb:26
FC059: LWRP provider does not declare use_inline_resources: AmazonEC2Tag/providers/ec2tag.rb:1
FC064: Ensure issues_url is set in metadata: AmazonEC2Tag/metadata.rb:1
FC065: Ensure source_url is set in metadata: AmazonEC2Tag/metadata.rb:1
FC066: Ensure chef_version is set in metadata: AmazonEC2Tag/metadata.rb:1
FC069: Ensure standardized license defined in metadata: AmazonEC2Tag/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 failed this metric

Failure: Cookbook should not contain binaries. Found:
AmazonEC2Tag/AmazonEC2Tag.tgz

Publish Metric
            

1.0.0 passed this metric

Supported Platforms 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