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


cafe-core (2) Versions 0.0.2

OpsCafe common core infrastructure.

cookbook 'cafe-core', '~> 0.0.2'
cookbook 'cafe-core', '~> 0.0.2', :supermarket
knife supermarket install cafe-core
knife supermarket download cafe-core
Quality 50%


Cookbook Version [Apache 2.0 License](./LICENSE.txt) Dependency Status Build Status Coverage Status


OpsCafe common core infrastructure.


This Chef cookbook is a volume in the OpsCafe infrastructure cookbook series. It can function independently or integrate seamlessly with other cafe-* cookbooks.



  • Ubuntu (~> 14.04)


  • apt (~> 2.7.0)
  • ntp (~> 1.8.6)
  • openssh (~> 1.5.0)
  • sudo (~> 2.7.1)
  • users (~> 1.8.2)
  • zsh (~> 1.0.1)
  • vim (~> 1.1.2)


Attribute Description Default Choices
node['cafe']['core']['common']['enable'] Include the common recipe by default. true
node['cafe']['core']['ssh']['enable'] Include the ssh recipe by default. true
node['cafe']['core']['sudo']['enable'] Include the sudo recipe by default. true



Includes each other recipe in this cookbook according to the corresponding attribute:



Includes a set of practical cookbooks to setup the following:

  • Network Time Protocol (NTP)
  • Zsh
  • Vim

Also includes the apt::default recipe on Debian based platforms.


Installs and enables the openssh server. Sets practical and secure sshd defaults:

  • Disables root login.
  • Disables password login.
  • Enables agent forwarding.


Enables sudo configuration through sudoers.d.

Creates and configures the sysadmin group for passwordless sudo. The sysadmin group is created only if the uses data bag exists and contains at least one sysadmin user. For example, see [sudoroot.json](./test/integration/sudo/data_bags/users/sudoroot.json).

Development and Testing

Source Code

The cafe-core source is hosted on GitHub. To clone the project run

$ git clone


Run rake -T to see all Rake tasks.

rake all                          # Run all tasks
rake doc                          # Build documentation
rake foodcritic                   # Lint Chef cookbooks
rake kitchen:all                  # Run all test instances
rake kitchen:default-ubuntu-1404  # Run default-ubuntu-1404 test instance
rake readme                       # Generate from
rake rubocop                      # Run RuboCop
rake rubocop:auto_correct         # Auto-correct RuboCop offenses
rake spec                         # Run RSpec code examples
rake test                         # Run kitchen integration tests
rake yard                         # Generate YARD Documentation


Run thor -T to see all Thor tasks.


Guard tasks have been separated into the following groups:

  • doc
  • lint
  • unit
  • integration

By default, Guard will generate documentation, lint, and run unit tests. The integration group must be selected manually with guard -g integration.


Please submit and comment on bug reports and feature requests.

To submit a patch:

  1. Fork it (
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Make changes. Write and run tests.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin my-new-feature).
  6. Create a new Pull Request.


Copyright 2015 Evan Sosenko

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.


This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.

Dependent cookbooks

vim ~> 1.1.2
zsh ~> 1.0.1
users ~> 1.8.2
sudo ~> 2.7.1
openssh ~> 1.5.0
ntp ~> 1.8.6
apt ~> 2.7.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.



  • Update Berkshelf to 3.3.0.


Initial release.

Collaborator Number Metric

0.0.2 failed this metric

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

Contributing File Metric

0.0.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

0.0.2 failed this metric

FC066: Ensure chef_version is set in metadata: cafe-core/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cafe-core/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: cafe-core/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.0.2 passed this metric

Publish Metric

0.0.2 passed this metric

Supported Platforms Metric

0.0.2 passed this metric

Testing File Metric

0.0.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

0.0.2 passed this metric