cookbook 'control_groups', '= 0.1.6'
control_groups
(18) Versions
0.1.6
-
Follow5
Provides and configures cgroups
cookbook 'control_groups', '= 0.1.6', :supermarket
knife supermarket install control_groups
knife supermarket download control_groups
Control Groups
Manage control groups (cgroups) via chef!
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.
Repository:
- Repository: https://github.com/hw-cookbooks/control_groups
- IRC: Freenode @ #heavywater
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
0.1.6 passed this metric
Contributing File Metric
0.1.6 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
Foodcritic Metric
0.1.6 failed this metric
FC043: Prefer new notification syntax: control_groups/recipes/default.rb:43
FC064: Ensure issues_url is set in metadata: control_groups/metadata.rb:1
FC065: Ensure source_url is set in metadata: control_groups/metadata.rb:1
FC066: Ensure chef_version is set in metadata: control_groups/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: control_groups/metadata.rb:1
FC069: Ensure standardized license defined in metadata: control_groups/metadata.rb:1
FC104: Use the :run action in ruby_block instead of :create: control_groups/recipes/default.rb:43
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.6 passed this metric
Testing File Metric
0.1.6 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.1.6 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
0.1.6 passed this metric
0.1.6 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
Foodcritic Metric
0.1.6 failed this metric
FC043: Prefer new notification syntax: control_groups/recipes/default.rb:43
FC064: Ensure issues_url is set in metadata: control_groups/metadata.rb:1
FC065: Ensure source_url is set in metadata: control_groups/metadata.rb:1
FC066: Ensure chef_version is set in metadata: control_groups/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: control_groups/metadata.rb:1
FC069: Ensure standardized license defined in metadata: control_groups/metadata.rb:1
FC104: Use the :run action in ruby_block instead of :create: control_groups/recipes/default.rb:43
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.6 passed this metric
Testing File Metric
0.1.6 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.1.6 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
0.1.6 failed this metric
FC064: Ensure issues_url is set in metadata: control_groups/metadata.rb:1
FC065: Ensure source_url is set in metadata: control_groups/metadata.rb:1
FC066: Ensure chef_version is set in metadata: control_groups/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: control_groups/metadata.rb:1
FC069: Ensure standardized license defined in metadata: control_groups/metadata.rb:1
FC104: Use the :run action in ruby_block instead of :create: control_groups/recipes/default.rb:43
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.6 passed this metric
Testing File Metric
0.1.6 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.1.6 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
0.1.6 failed this metric
0.1.6 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