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

RSS

control_groups (18) Versions 0.2.12

Provides and configures cgroups

Policyfile
Berkshelf
Knife
cookbook 'control_groups', '= 0.2.12', :supermarket
cookbook 'control_groups', '= 0.2.12'
knife supermarket install control_groups
knife supermarket download control_groups
README
Dependencies
Changelog
Quality 33%

Control Groups

Cookbook Version
CI State
OpenCollective
OpenCollective
License

Manage control groups (cgroups) via chef!

Maintainers

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 sous-chefs.org 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)
end

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

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

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

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

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

Changelog

0.2.12 - 2024-05-06

0.2.11 - 2023-09-28

0.2.10 - 2023-09-04

0.2.9 - 2023-07-10

0.2.8 - 2023-06-01

0.2.7 - 2023-05-03

0.2.6 - 2023-04-01

0.2.5 - 2023-03-02

  • Remove delivery workflow

0.2.4 - 2023-02-14

  • Remove delivery folder

0.2.3 - 2021-08-31

  • Standardise files with files in sous-chefs/repo-management

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

v0.1.6

  • 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)

v0.1.4

  • Update service resource usage

v0.1.2

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

v0.0.1

  • Initial release

Collaborator Number Metric
            

0.2.12 passed this metric

Contributing File Metric
            

0.2.12 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

0.2.12 failed this metric

Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): control_groups/resources/entry.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): control_groups/resources/install.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): control_groups/resources/rule.rb: 1

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

0.2.12 passed this metric

Testing File Metric
            

0.2.12 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 https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.12 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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number