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

r1337-linux-users (2) Versions 0.1.0

Mange users and common groups on Linux systems

Policyfile
Berkshelf
Knife
cookbook 'r1337-linux-users', '= 0.1.0', :supermarket
cookbook 'r1337-linux-users', '= 0.1.0'
knife supermarket install r1337-linux-users
knife supermarket download r1337-linux-users
README
Dependencies
Changelog
Quality 83%

Chef Cookbook - Linux Users

This Chef cookbook will add/update/remove users and common groups on Linux systems

Changes Performed

  1. Configure local users and common groups according to contents of the data bag specified in the ['r1337-linux-users']['users_bag'] attribute

Requirements

  1. Chef (Tested on Chef 13.6.4)
  2. Linux chef-clients (Tested on Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, and CentOS 7.2 but kitchen will let you test anything you want)
  3. The apt cookbook from Chef Supermarket
  4. The users cookbook from Chef Supermarket
  5. the line cookbook from Chef Supermarket
  6. the zap cookbook from Chef Supermarket

Installation Tips

  1. We personally use Berks to install this into Chef servers, because it will grab the dependencies for you as well.
  2. You must set the attribute ['r1337-linux-users']['users_bag'] in your environment so it points at the correct data bag.
    1. We recommend setting this attribute at an environment or role level depending on what makes sense for your organization.

Limitations

  1. None so far :)

Known Issues

  1. None so far :)

users Data Bag Format

{
    "id": "david",
    "password": "$6$example2$xc7NaKOwWWOBoGdSOP.mUgy21MNMjmdHsRuiVAmoMLpQ0tr42xPxWhOWNCPvCClV8lpE3zKr8.TowR0ARoi3a1",
    "ssh_keys": [
      "ssh-rsa AAAAB3NzaC1yc2EAAAAD blah blah",
      "ssh-rsa AAAAB3NzaC1yc2EAAAAD blah blah"
    ],
    "groups": [ "sysadmins" ],
    "shell": "\/bin\/bash",
    "comment": "David"
}

Use Cases

Used to manage user deployment, key/permissions enforcement, and removal on Linux systems from a central repository.

Route 1337, LLC operates entirely on donations. If you find this cookbook useful, please consider donating via one of these methods.

  1. Bitcoin: 1CnzzrPh3iirEkLRLiWFKXDV9i5TXHQjE2
  2. Bitcoin Cash: qzcq645swgd87s7t5mmmjcumf4armhtjt5euww5c29
  3. Litecoin: LWYbc9hf5ErJsF874Q3wwmMiASHRWgwrjR
  4. Ethereum: 0x117543aa7a4D704849171cA06568Ece71B111D18

Thank you for your support!

Dependent cookbooks

apt >= 0.0.0
users >= 0.0.0
line >= 0.0.0
zap >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Linux Users - Changelog

A list of all the changes made to this cookbook

Version 0.1.0

  1. Initial Release

Collaborator Number Metric
            

0.1.0 failed this metric

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

Contributing File Metric
            

0.1.0 passed this metric

Foodcritic Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 passed this metric

Version Tag Metric
            

0.1.0 passed this metric