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

choregraphie_dynamodb_lock (3) Versions 0.1.1

AWS DynamoDB lock primitive for chef choregraphie

Policyfile
Berkshelf
Knife
cookbook 'choregraphie_dynamodb_lock', '= 0.1.1', :supermarket
cookbook 'choregraphie_dynamodb_lock', '= 0.1.1'
knife supermarket install choregraphie_dynamodb_lock
knife supermarket download choregraphie_dynamodb_lock
README
Dependencies
Changelog
Quality 50%

choregraphie_dynamodb_lock Cookbook

Build Status

This cookbook provides AWS DynamoDB lock primitive for choregraphie cookbook

Usage

Check choregraphie documentation on how to use primitives in chef recipes.

Primitive attributes

:table - (Required) name of a table to use

:hash_key - (Required) DynamoDB table hash key name

:id - (Required) unique id for lock name

:create_table - (Optional) create DynamoDB table if it's missing. Default: false

:ttl - (Optional) TTL for lock befire it expires, in seconds. Default: 30

Example:
ruby
dynamodb_lock(table: 'LockTable', hash_key: 'id', id: 'my_node', ttl: 600)

AWS Configuration

Block can be used to provide specific AWS Config:
ruby
...
dynamodb_lock(table: 'LockTable', hash_key: 'id', id: 'my_node') do
require 'aws-sdk-dynamodb'
Aws.config.update({
region: 'us-west-2',
})
end
...

Requirements

Platforms

  • Any platform supported by Chef and the AWS-SDK

Chef

  • Chef 12.6+

DynamoDB

  • If you create DynamoDB table outside of lock primitive, Time to live attribute should be named Expires.

References

Dependent cookbooks

choregraphie >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Choregraphie DynamoDB Lock Cookbook CHANGELOG

This file is used to list changes made in each version of the Choregraphie DynamoDB Lock cookbook.

0.1.0

  • Initial Release

Collaborator Number Metric
            

0.1.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.1 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
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.1 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
            

0.1.1 passed this metric