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

RSS

control_groups (6) Versions 0.2.0

Provides and configures cgroups

Berkshelf
Policyfile
Knife
cookbook 'control_groups', '~> 0.2.0'
cookbook 'control_groups', '~> 0.2.0', :supermarket
knife supermarket install control_groups
knife supermarket download control_groups
README
Dependencies
Changelog
Quality 100%

Control Groups

Cookbook Version Build Status 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

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.0 passed this metric

Contributing File Metric
            

0.2.0 passed this metric

Foodcritic Metric
            

0.2.0 passed this metric

No Binaries Metric
            

0.2.0 passed this metric

Publish Metric
            

0.2.0 passed this metric

Supported Platforms Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 passed this metric

Version Tag Metric
            

0.2.0 passed this metric