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

common_deploy (15) Versions 0.1.10

Common chef cookbook providing attribute driven application deployments

Berkshelf/Librarian
Policyfile
Knife
cookbook 'common_deploy', '= 0.1.10'
cookbook 'common_deploy', '= 0.1.10', :supermarket
knife cookbook site install common_deploy
knife cookbook site download common_deploy
README
Dependencies
Changelog
Quality 0%

common_deploy cookbook

A cookbook which provides tools to help deploy simple applications in a standardized way via node attributes. This is designed to be used with PolicyFiles and the suite of common_* cookbooks so that applications may be deployed without necessarily requiring a dedicated cookbook.

Warning: This cookbook is not yet ready for public consumption

Requirements

This cookbook requires Chef 12.7.0 or later.

Platform

Any

Attributes

Top Level

  • common_deploy.default: This provides the default attributes which will be used as the base to merge specific applications on top of.
  • common_deploy.*: Each application will be configured within a self contained hash so as to ensure that all of it's required configurations are stored in one place. Below this level, key => hash pairs will exist to describe additional lwrps to generate.

Application Level

  • order: The optional ordering in which we will deploy applications, defaults to 100.
  • configuration: A free-form hash used to provide more global attributes to templates. These will serve as the base onto which specific template variables will be merged.
  • repository: This hash contains attributes which will be passed to the common_deploy_repository custom resource to deploy a git repository.
  • templates: This hash contains key => value pairs describing common_deploy_template custom resource definitions which mostly drive template creation.

Libraries

  • CommonDeploy::Applications: A helper library providing the business logic behind how we iterate over applications and apply the default attributes.
  • CommonDeploy::Configs: A helper library providing the business logic behind how we iterate over application configs.

Dependent cookbooks

common_attrs >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

common_deploy

v0.1.10

  • Bugfix issue with deployments

v0.1.9

  • Add newline to the revisions file

v0.1.8

  • Add after_updated callback to revision resource

v0.1.7

  • Upgrade run helpers to use bash rather than execute and thus ensure that we support commands such as npm and rbenv that may otherwise have issues.

v0.1.6

  • Do it more betterly

v0.1.5

  • Bugfix helpers not creating when no block is provided
  • Fix issue where SCM provider is not instantiating on older chefs

v0.1.4

  • Rubocop fixes
  • Stylistic updates

v0.1.3

  • Added new revision resource
  • Renamed resource files

v0.1.2

  • Initial

Collaborator Number Metric
            

0.1.10 failed this metric

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

Foodcritic Metric
            

0.1.10 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/libraries/common_deploy-applications.rb:12
FC005: Avoid repetition of resource declarations: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/revision.rb:636
FC016: LWRP does not declare a default action: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/repository.rb:1
FC016: LWRP does not declare a default action: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/revision.rb:1
FC016: LWRP does not declare a default action: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/template.rb:1
FC019: Access node attributes in a consistent manner: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/attributes/default.rb:1
FC022: Resource condition within loop may not behave as expected: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/revision.rb:584
FC022: Resource condition within loop may not behave as expected: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/revision.rb:586
FC043: Prefer new notification syntax: /tmp/d3a3a11f265c9dedbd6139dd/common_deploy/resources/repository.rb:109