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

L7-sysfs (6) Versions 0.0.7

Configures sysfs

Policyfile
Berkshelf
Knife
cookbook 'L7-sysfs', '= 0.0.7', :supermarket
cookbook 'L7-sysfs', '= 0.0.7'
knife supermarket install L7-sysfs
knife supermarket download L7-sysfs
README
Dependencies
Quality 0%

L7-sysfs cookbook

Build Status
security
Cookbook Version

Description

Configures sysfs kernel subsystem control parameters via Opscode Chef in /etc/sysfs.conf

Supported Platforms

  • Ubuntu 12.04+
  • Debian 7.0+

Recipes

  • L7-sysfs - The default no-op recipe.
  • Predefined parameters:
  • L7-sysfs::nic_tuning - Sets tx queue length to higher value and increase rps queue.
  • L7-sysfs::disk_tuning - Set io scheduler and rq affinity.
  • L7-sysfs::tsc_clocksource - Sets clocksource to tsc.
  • L7-sysfs::disable_thp - Disables transparent huge pages.

Usage

  • name: The sysfs parameter.
  • comment: Optional string for identification.
  • value: Must be set to proper value.
  • immediately: Optional true/false. Sets value at runtime or at the end of chef run.
L7_sysfs 'devices/system/clocksource/clocksource0/current_clocksource' do
    comment 'Set clocksource to tsc'
    value 'tsc'
    immediately true
end

TODO

  • Rewrite to LWRP

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

  • Freely distributable and licensed under the MIT license.
  • Copyright (c) 2015 Gabor Szelcsanyi

image

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.0.7 failed this metric

FC015: Consider converting definition to a Custom Resource: /tmp/2558055215056d3101a224dd/L7-sysfs/definitions/default.rb:1