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


control_groups (18) Versions 0.2.1

Provides and configures cgroups

cookbook 'control_groups', '= 0.2.1', :supermarket
cookbook 'control_groups', '= 0.2.1'
knife supermarket install control_groups
knife supermarket download control_groups
Quality 100%

Control Groups

Cookbook Version
CI State

Manage control groups (cgroups) via chef!


This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit or come chat with us on the Chef Community Slack in #sous-chefs.

Example usage

control_groups_entry 'lackresources' do
  memory('memory.limit_in_bytes' => '1M')
  cpu('cpu.shares' => 1)

control_groups_rule 'someuser' do
  controllers [:cpu, :memory]
  destination 'lackresources'

This will restrict all processes created by someuser into the lackresources control group.


This project exists thanks to all the people who contribute.


Thank you to all our backers!


Support this project by becoming a sponsor. Your logo will show up here with a link to your website.


v0.2.1 (2020-11-12)

  • Resolved failures in the recipe / resources to find the correct helper methods

v0.1.6 (2020-01-26)

  • Convert from LWRPs to custom resources
  • Properly set name properties in the resources
  • Refactored hashes literals to Ruby 1.9+ format
  • Removed allowed actions from resources at this is no longer necessary in Chef 12.5+
  • Updated notification syntax to the modern notifies syntax
  • Remove zlinux from the list of supported platforms
  • Add platform support logic for Amazon Linux and Fedora
  • Expand testing in the Kitchen configs to current platform releases
  • Migrated to GitHub actions for testing


  • Add packages for rhel family
  • Fix typo in readme (thanks @jgoldschrafe)
  • Move recipe inclusion to action in provider and use run_context instead of node directly (thanks @jgoldschrafe)


  • Update service resource usage


  • Use ephemeral store to build configuration
  • Remove default uid and gid values for cgconfig groups


  • Initial release

Collaborator Number Metric

0.2.1 passed this metric

Contributing File Metric

0.2.1 passed this metric

Foodcritic Metric

0.2.1 passed this metric

No Binaries Metric

0.2.1 passed this metric

Testing File Metric

0.2.1 passed this metric

Version Tag Metric

0.2.1 passed this metric