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

Configures sysctl parameters

Policyfile
Berkshelf
Knife
cookbook 'L7-sysctl', '~> 0.1.14', :supermarket
cookbook 'L7-sysctl', '~> 0.1.14'
knife supermarket install L7-sysctl
knife supermarket download L7-sysctl
README
Dependencies
Quality 17%

L7-sysctl cookbook

Build Status
security
Cookbook Version

Description

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

Supported Platforms

  • Ubuntu 12.04+
  • Debian 7.0+

Recipes

  • 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 1G/10G networks 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_congestion_bbr - Sets the tcp congestion control to bbr.
  • L7-sysctl::tcp_fastopen - Enable client/server side tcp fast open.

Usage

  • 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
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) 2016 Gabor Szelcsanyi

image

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.14 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.14 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.14 failed this metric

FC066: Ensure chef_version is set in metadata: L7-sysctl/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.14 passed this metric

Testing File Metric
            

0.1.14 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.14 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