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


L7-sysfs (6) Versions 0.0.5

Configures sysfs

cookbook 'L7-sysfs', '= 0.0.5', :supermarket
cookbook 'L7-sysfs', '= 0.0.5'
knife supermarket install L7-sysfs
knife supermarket download L7-sysfs
Quality 0%

L7-sysfs cookbook

Build Status
Cookbook Version


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

Supported Platforms

  • Ubuntu 12.04+
  • Debian 7.0+


  • 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.


  • 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


  • Rewrite to LWRP


  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


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


Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

0.0.5 failed this metric

FC015: Consider converting definition to a LWRP: /tmp/cook/af4282b4bc30bc61d4f46732/L7-sysfs/definitions/default.rb:1