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

github_users (3) Versions 0.2.0

Creates users from a Github organization or list of users

Policyfile
Berkshelf
Knife
cookbook 'github_users', '= 0.2.0', :supermarket
cookbook 'github_users', '= 0.2.0'
knife supermarket install github_users
knife supermarket download github_users
README
Dependencies
Quality 100%

github_users

Create users from a Github organization or list of users.

This will allow members of your organization to SSH into servers using their own keys.

Attributes

  • node[github_users][organization] - Github organization to search for public members
  • node[github_users][users] - List of Github users, if you don't want to use the organization attribute
  • node[github_users][group_name] - Group name users will belong to (default 'github')
  • node[github_users][group_id] - Group id users will belong to (default 2157)
  • node[github_users][allow_sudo] - Allow passwordless sudo for the users (default true)

Usage

Include this cookbook in your role or wrapper cookbook.

recipe[github_users]

Set one of these attributes as you need:

  • [github_users][organization]
  • [github_users][users]

Development

  1. Clone this repository

    git clone git@github.com:dustinmm80/github_users_cookbook.git
    
  2. Install dependencies

    gem install bundler; bundle install
    
  3. Write tests for your changes. We're using test-kitchen and serverspec.

  4. Run the tests

    We're using docker to run our integration tests.

    You need to have the environment variable DOCKER_HOST set to point to your docker daemon.

    kitchen converge; kitchen verify
    

Dependent cookbooks

ssh_known_hosts >= 0.0.0
sudo >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.2.0 passed this metric