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

chef-attributes (1) Versions 0.1.0

Installs/Configures chef-attributes

Policyfile
Berkshelf
Knife
cookbook 'chef-attributes', '~> 0.1.0', :supermarket
cookbook 'chef-attributes', '~> 0.1.0'
knife supermarket install chef-attributes
knife supermarket download chef-attributes
README
Dependencies
Changelog
Quality 33%

chef-attributes

Manipulate Chef Attributes on Node, Role or Environment Level on the fly.

Gem Version
Build Status

Requirements

  • Chef Client 12+
  • Ohai 4+
  • RubyGems 1+

Usage

Include the default recipe and override the default attributes default['chef']['level']['attributes']

wrapper cookbook

include_recipe 'chef-attributes::default'

override attribute

override['chef']['level']['attributes'] = {
  'environment' => {
    'Development' => {
      'env.attribute.period.concatenated' => 'value',
      'env.attribute.period.concatenated2' => 'value'
    },
    'Production' => {
      'attribute.period.concatenated3' => 'value',
      'attribute.period.concatenated4' => 'value'
    }
  },
  'role' => {
    'dev-role' => {
      'role.attribute.period.concatenated' => 'value',
      'role.attribute.period.concatenated2' => 'value'
    },
  },
  'node' => {
    'node-101' => {
      'node.attribute.period.concatenated' => 'value',
      'node.attribute.period.concatenated2' => 'value'
    }
  }
}

Platform

  • CentOS, Red Hat
  • Amazon Linux, Amazon
  • Ubuntu, Debian

Tested on:
- CentOS 7+
- Ubuntu 16.04+

Authors

Author:: Rodel Manalo Talampas

Dependent cookbooks

ohai >= 4.0.0
rubygems ~> 1.1.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chef-attributes Cookbook CHANGELOG

v0.1.0 (2018-03-19)

  • Initial Cookbook creation

Collaborator Number Metric
            

0.1.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.1.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.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.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.1.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