cookbook 'control_groups', '= 0.1.6'
control_groups (8) Versions 0.1.6 Follow4
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
License 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
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