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.2.0

AWS DynamoDB lock primitive for chef choregraphie

Policyfile
Berkshelf
Knife
cookbook 'choregraphie_dynamodb_lock', '~> 0.2.0', :supermarket
cookbook 'choregraphie_dynamodb_lock', '~> 0.2.0'
knife supermarket install choregraphie_dynamodb_lock
knife supermarket download choregraphie_dynamodb_lock
README
Dependencies
Changelog
Quality 33%

choregraphie_dynamodb_lock Cookbook

Build Status Cookbook Version

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 before it expires, in seconds. Default: 30

:expires_key - (Optional) Name of TTL attribute in table . Default: Expires

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+

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.2.0 (2018-10-15)

  • Add support for expires attribute name

0.1.2 (2018-07-23)

  • Fix unit and lint tests

0.1.0

  • Initial Release

Collaborator Number Metric
            

0.2.0 failed this metric

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

Contributing File Metric
            

0.2.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
            

0.2.0 passed this metric

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.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
            

0.2.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