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-sysctl (10) Versions 0.1.6

Configures sysctl parameters

cookbook 'L7-sysctl', '= 0.1.6', :supermarket
cookbook 'L7-sysctl', '= 0.1.6'
knife supermarket install L7-sysctl
knife supermarket download L7-sysctl
Quality 0%

L7-sysctl cookbook

Build Status
Cookbook Version


Configures sysctl system control parameters via Opscode Chef in /etc/sysctl.conf

Supported Platforms

  • Ubuntu 12.04+
  • Debian 7.0+


  • L7-sysctl - The default no-op recipe.
  • Predefined parameters:
  • L7-sysctl::basic_securty - Sets kernel level security settings.
  • L7-sysctl::disable_ipv6 - If you do not use ipv6 then disable it.
  • L7-sysctl::enable_forwarding - Enables ipv4 forwarding.
  • L7-sysctl::less_swapping - Decrease swap ratio to 10 for less swapping.
  • L7-sysctl::no_overcommit - Do not overcommit available memory.
  • L7-sysctl::panic - Reboot on kernel panic.
  • L7-sysctl::tune_conntrack - Increase connection tracking buffers.
  • L7-sysctl::tune_shm - Increase shm.
  • L7-sysctl::tune_tck_stack - Tune tcp stack for higher throughput.
  • L7-sysctl::tune_vfs - Tune vfs.
  • L7-sysctl::disable_bridge_nf_call - Disable netfilter calls on bridged packets.
  • L7-sysctl::ipv6_no_autoconfig - No autoconfig for ipv6.
  • L7-sysctl::tcp_congestion_yeah - Sets the tcp congestion control to YeAH.
  • L7-sysctl::tcp_fastopen - Enable client/server side tcp fast open.


  • Include L7-sysctl::default recipe in your runlist.
  • Place 'depends L7-sysctl' in the metadata of your cookbook.

  • name: The sysctl parameter name.

  • 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. Default: false.

L7_sysctl 'net.ipv4.ip_forward' do
    comment 'Enable ip forwarding'
    value '1'
    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.1.6 failed this metric

FC015: Consider converting definition to a LWRP: /tmp/cook/7cfe596ff1adbf996edbad5e/L7-sysctl/definitions/default.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/7cfe596ff1adbf996edbad5e/L7-sysctl/recipes/tcp_fastopen.rb:14