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


server-base (7) Versions 2.3.4

Installs/Configures base server environment

cookbook 'server-base', '~> 2.3.4', :supermarket
cookbook 'server-base', '~> 2.3.4'
knife supermarket install server-base
knife supermarket download server-base
Quality 17%


Build Status

This wrapper cookbook installs packages required on Linux servers.

Supported Platforms

Supported platforms: Ubuntu 14.04/16.04 LTS, RedHat Enterprise Linux 7, Chef 12/13


The behavior of the upstream cookbooks is controlled by attributes. You may see what the default values are by
studying the files in the attributes directory.

Attribute Default Value Description
node['server-base']['python2']['install'] true Installs Python 2.x interpreter.
node['server-base']['python3']['install'] true Installs Python 3.x interpreter.
node['server-base']['install_dnsmasq'] false Installs DNS service if true.
node['server-base']['install_chef_client'] falase Installs and configures chef-client as a service if true.



Include server-base in your node's run_list:

  "run_list": [


  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License & Authors

Copyright:: 2014-2017 Pulselocker, Inc.
Copyright:: 2018-2019 TGW Consulting, LLC.

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,
See the License for the specific language governing permissions and
limitations under the License.


2.3.4 (04-Jan-2019)

  • Install net-tools package on RHEL systems.

2.3.3 (24-Dec-2018)

  • Resolved vulnerabilities with rack and nokogiri gems by upgrading to new versions.

2.3.2 (06-Jun-2018)

  • Added chef-client cookbook and configured for regular automated run of chef-client on target host.
  • Fixed bug in dnsmasq recipe to support yum packages in addition to apt.

2.3.1 (24-May-2018)

  • Updated metadata.rb with supported OSes.
  • Changed provisioner attributes in .kitchen.yml file.
  • Added stove gem simplifying cookbook publishing to Chef Supermarket.

2.3.0 (23-May-2018)

  • Added support for Redhat Enterprise Linux 7, CentOS 7, Scientific Linux 7
  • Dropped Ubuntu 14.04 from test suites
  • Added CentOS 7 to test suites

2.2.1 (14-Mar-2018)

  • Updated gem package versions in Gemfile
  • [CVE-2017-9050] Addressed Nokogiri vulnerability
  • Code cleanup per Rubocop recommendations
  • Replaced Travis Test Kitchen with Dokken.

2.2.0 (08-Feb-2018)

  • Changed maintainer information.
  • Removed Chef 12 requirement
  • Updated dependent package versions.

2.1.3 (16-Oct-2017)

  • [APPA-522] Fixed issue with dpkg overwriting configuration file.
  • Added $ rake linter task for linter testing only.

2.1.2 (16-Aug-2017)

  • Deprecated networking-basic cookbook.
  • Bumped version of build-essential cookbook.

2.1.1 (15-Aug-2017)

  • Removed old .travis.yml file no longer used.
  • Restructured cookbook directory to get it working with Berkshelf.

2.1.0 (11-Aug-2017)

  • Restructured cookbook to support Travis/Docker integration tests.
  • Added Travis/Docker integration testing.
  • Pinned cookbook versions for: openssh, rsyslog, ntp, and apt.

2.0.0 (24-Jul-2017)

  • Deprecated python cookbook in favor of poise-python.
  • Added support for installing Python 3 installations.
  • Added openssh cookbook dependency.

1.2.2 (16-May-2017)

  • Enable APT update during compile time of cookbook.
  • Rolled back Python to use python cookbook instead of poise-python.

1.2.1 (11-May-2017)

  • Require Chef Omnibus 12.x package for backwards compatibility in Kitchen Test.

1.2.0 (09-Feb-2017)

  • Added support for Ubuntu 16.04 OS.
  • Deprecated support of Ubuntu 12.04.
  • Bumped build-essential cookbook version.
  • Bumped ruby_build cookbook version.
  • Deprecated python cookbook in favor of poise-python.

1.1.1 (17-Jun-2016)

  • Do not install DNS cache by default.

1.1.0 (03-Jun-2016)

  • Add local DNS cache.

1.0.3 (15-Mar-2016)

  • Updated travis.yml to include Ruby 2.2.1 to support latest version of foodcritic gem.
  • Made changes to support foodcritic 6.x.


  • Bug fixes.
  • Changed networking_basic cookbook to networking-basic cookbook, maintained by Pulselocker.


  • Moved dependency version control to Berksfile.


  • Addition of the system-common recipe, which installs apt, ntp, openssh, ntp, rsyslog, build-essential, and zip.
  • Addition of the python-support recipe, which installs python and pip.
  • Addition of the ruby-support recipe, which installs Ruby and Rake.

Collaborator Number Metric

2.3.4 failed this metric

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

Contributing File Metric

2.3.4 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

2.3.4 failed this metric

FC121: Cookbook depends on cookbook made obsolete by Chef 14: server-base/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: server-base/recipes/system-common.rb:45
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

2.3.4 passed this metric

Testing File Metric

2.3.4 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

2.3.4 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 include a tag that matches this cookbook version number