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

The codenamephp_users cookbook has been deprecated

Author provided reason for deprecation:

The codenamephp_users cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_users cookbook is no longer recommended.

RSS

codenamephp_users (3) Versions 1.0.2

Cookbook to install apache2

Policyfile
Berkshelf
Knife
cookbook 'codenamephp_users', '~> 1.0.2', :supermarket
cookbook 'codenamephp_users', '~> 1.0.2'
knife supermarket install codenamephp_users
knife supermarket download codenamephp_users
README
Dependencies
Quality 33%

Chef Cookbook

CI

A wrapper for the sous chefs users cookbook that adds a resource to add users directly from a databag.

Usage

Add the cookbook to your wrapper cookbook and use the resource. Also make sure you actually include the data_bag otherwise the resource does nothing.

Resources

from_data_bag

The codenamephp_from_data_bag Resource wraps the loading of the databage, creating of groups and the users_manage call that creates the users. The groups
are created first so the users are corrctly added.

If the data_bag was not found or was invalid the creation is skipped and a message is logged.

Actions

  • :create: Manages the users. Desipite the action name users can also be removed if they are marked in the data_bag

Properties

  • groups: Array of group names to manage. If a group does not exist it is created before users_manage is called
  • data_bag_name: The name of the data_bag to load the users from, defaults to 'users'
  • data_bag_query: The query that is used to load the data_bag_items, defaults to '*:*'

Examples

# Minimal properties
codenamephp_users_from_data_bag 'Create users' do
  groups %w(chef sudo sysadmin)
end

# With custom data_bag and query
codenamephp_users_from_data_bag 'Create users' do
  groups %w(extra)
  data_bag_name 'extra_users'
  data_bag_query 'groups:*extra*'
end

Collaborator Number Metric
            

1.0.2 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.2 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

Cookstyle Metric
            

1.0.2 passed this metric

No Binaries Metric
            

1.0.2 passed this metric

Testing File Metric
            

1.0.2 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.2 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