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

cpu (16) Versions 1.0.0

Manage CPU Governor on linux

Policyfile
Berkshelf
Knife
cookbook 'cpu', '= 1.0.0', :supermarket
cookbook 'cpu', '= 1.0.0'
knife supermarket install cpu
knife supermarket download cpu
README
Dependencies
Changelog
Quality 29%

Cookbook Version Build Status

Description

Manage CPU Governor on linux

Requirements

Platform:

  • Ubuntu
  • Debian

Cookbooks:

No dependencies defined

Attributes

  • node['cpu']['governor'] - Defaults to "ondemand".

Recipes

  • cpu::affinity
  • cpu::default
  • cpu::governor

Resources

cpu_affinity

Actions

  • set: Default action.

Attribute Parameters

  • pid:
  • cpu:

Examples

cpu_affinity 1234 do
  cpu 0
end

Set affinity to processor 0,1,2 for process nginx

cpu_affinity 'set affinity for nginx' do
pid '/var/run/nginx.pid'
cpu '0-2'
end

cpu_nice

Actions

  • set: Default action.

Attribute Parameters

  • pid:
  • priority:

Examples

cpu_nice 1234 do
  priority 12
end
cpu_nice 'set affinity for nginx' do
  pid '/var/run/nginx.pid'
  priority 19
end

License and Maintainer

Maintainer:: Guilhem Lettron (guilhem.lettron@youscribe.com)

License:: Apache v2.0

CPU Changelog

This file is used to list changes made in each version of the cpu cookbook.

1.0.0 (2016-11-02)

  • Moved maintenance to the redguide group
  • Added use_inline_resources to the providers to properly notify on updates
  • Removed Chef 10 compatibility
  • Resolved all cookstyle warnings
  • Added new metadata for Supermarket
  • Added testing in Travis
  • Added local testing with rake and test kitchen
  • Added the Apache 2.0 license file
  • Add a Berksfile
  • Refactored the Readme
  • Added a chefignore file

Collaborator Number Metric
            

1.0.0 passed this metric

Contributing File Metric
            

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

Foodcritic Metric
            

1.0.0 failed this metric

FC069: Ensure standardized license defined in metadata: cpu/metadata.rb:1
Run with Foodcritic Version 10.3.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.0 failed this metric

cpu does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

1.0.0 failed this metric

Failure: Cookbook should not contain binaries. Found:
cpu/supermarket.pem.enc

Testing File Metric
            

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

Version Tag Metric
            

1.0.0 passed this metric