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


user_ssh (2) Versions 0.1.0

A Chef recipe to manage user accounts and SSH keys from databags

cookbook 'user_ssh', '= 0.1.0'
cookbook 'user_ssh', '= 0.1.0', :supermarket
knife supermarket install user_ssh
knife supermarket download user_ssh
Quality 0%

user_ssh cookbook

Build Status


This cookbook extends the user_account LWRP from fnichol/chef-user to support modification of the home folder after creation of the account.

This allows for the creation of the user account in a specific folder and later modification of the corresponding /etc/passwd record. This way some Solaris setups (with auto_home, for instance) work out of the box.

In addition, a modified version of the data_bat recipe is provided, to allow for the use of a wildcard when specifying the list of users (this will trigger the creation of all users in data bags) and creation of groups in two stages (first creation, then addition of users to groups).



Simply include this cookbook as a dependency in metadata.rb and the user_ssh_account resource will be available.

To use recipe[user_ssh::data_bag], follow the same approach as for the fnichol/chef-user recipe.

librarian-chef install




Author :: [Tnarik Innael](

Author (Original data_bag recipe) :: [Fletcher Nichol]( endorse

Based on

The data_bag recipe from fnichol/chef-user.

Copyright 2011, Fletcher Nichol

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

user >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

0.1.0 failed this metric

FC015: Consider converting definition to a LWRP: /tmp/cook/c7772b7dced9e6a7e2f2bd0a/user_ssh/definitions/provider_account.rb:1
FC015: Consider converting definition to a LWRP: /tmp/cook/c7772b7dced9e6a7e2f2bd0a/user_ssh/definitions/resource_account.rb:1