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


oh_my_zsh (8) Versions 0.1.2

A chef cookbook to install and configure oh-my-zsh, including custom configuration and plugins

cookbook 'oh_my_zsh', '= 0.1.2', :supermarket
cookbook 'oh_my_zsh', '= 0.1.2'
knife supermarket install oh_my_zsh
knife supermarket download oh_my_zsh
Quality 0%


Build Status


This cookbook features:

  • A Chef LWRP to install oh-my-zsh for system users.
  • A companion recipe for user::data_bag which adds an oh-my-zsh per user installation option.


Include recipe[oh_my_zsh] in your run_list and oh_my_zsh_user resource will become available.

The oh_my_zsh::data_bag recipe assumes that you're using the user::data_bag recipe from the excellent user cookbook. It lets you configure oh-my-zsh installation in user specific data_bags, e.g.

  "id"        : "testman",
  "home"      : "/home/testman"
  "oh-my-zsh" : { "enabled": true, "theme": "wedisagree", "plugins": ["git", "rvm"] }



This cookbook has been tested with the following OSes:

  • centos / redhat
  • ubuntu
  • gentoo


The cookbook has got the following dependencies:



No-op, does nothing.


Processes node['users'] and installs oh-my-zsh for the ones whose data_bags enable it, e.g.

  "id"        : "ranger",
  "oh-my-zsh" : { "enabled": true }

Resources and Providers



Action Description Default
ensure Install oh-my-zsh into ~/.oh-my-zsh, create and populate ~/.zshrc. yes
create Install only if ~/.oh-my-zsh or ~/.zshrc is missing. no


Attribute Description Default Value
login Name attribute: The login of the user. nil
home User's home directory. /home/username or /root
theme Theme to use alanpeabody
plugins Plugins to enable []
case_sensitive Use case sensitive completion false
autocorrect Use autocorrection feature true
locale set your locale UTF8

.zshrc.chef.local / .zshrc.local customziation made easy


Enables you to deploy additional zsh configuration per user, extending central aliases or whatever you like.
So this file should still be under control of your chef cookbook, but rather optionally include wrapper cookbook extensions of any kind.

This file is loaded per user in the end of the .zshrc file


This file can be created by the user, if he decides to - this file is not controlled by chef - its for the local user to put his little aliases inside.


oh_my_zsh_user 'jessie' do
  plugins        %w{git ruby}
  autocorrect    false
  case_sensitive true


This cookbook is heavily based on so a lot of credits go to Vasily Mikhaylichenko


Licensed under BSD license.

Dependent cookbooks

user >= 0.0.0
ark >= 0.0.0
zsh >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.



  • fix clone resource issue


  • remove update and make ensure the the "update" and the default. The old ensure is now called create
  • Fix README layout


Collaborator Number Metric

0.1.2 failed this metric

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

Foodcritic Metric

0.1.2 failed this metric

FC017: LWRP does not notify when updated: oh_my_zsh/providers/user.rb:9
FC059: LWRP provider does not declare use_inline_resources: oh_my_zsh/providers/user.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric

0.1.2 failed this metric

oh_my_zsh does not have a valid open source license.
Acceptable licenses include Apache 2.0, apachev2, MIT, mit, GNU Public License 2.0, gplv2, GNU Public License 3.0, gplv3.