Installs users from databags and creates symlinks for each user.
Ruby HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.delivery
attributes
recipes
spec
templates
test/integration
.gitignore
.kitchen.yml
.project
Berksfile
Berksfile.lock
LICENSE
README.md
chefignore
metadata.rb

README.md

Chef Cookbook Users

The default cookbook gets the environment ready to develop infomax projects.

Requirements

Supported Platforms

  • Debian Jessie

Chef

  • Chef 12.1+

Cookbook Depdendencies

  • users

Usage

Add the cookbook to your Berksfile:

cookbook 'chef.cookbook.users', '~> 0.1.0', :github 'codenamephp/chef.cookbook.users'

Add the cookbook to your runlist, e.g. in a role:

{
  "name": "default",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "run_list": [
	  "recipe[chef.cookbook.users]"
  ]
}

By default, the users recipe uses the "users" data_bag and the "sysadmin" and "default" groups to create users. The users are created by the Users Cookbook

Attributes

  • default['chef.cookbook.users']['data_bags'] Default: ['users'] - Sets the databags that will be used to look for users.
  • default['chef.cookbook.users']['groups'] Default: ['sysadmin', 'default'] - Sets the groups for which users will be created.