cookbook 'cpu', '= 1.0.0'
cpu
(18) Versions
1.0.0
-
Follow9
Manage CPU Governor on linux
cookbook 'cpu', '= 1.0.0', :supermarket
knife supermarket install cpu
knife supermarket download cpu
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
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
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
1.0.0 passed this 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
1.0.0 failed this metric
Run with Foodcritic Version 10.3.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
1.0.0 failed this metric
cpu/supermarket.pem.enc
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
1.0.0 passed this metric