cookbook 'L7-sysctl', '~> 0.1.14'
L7-sysctl (10) Versions 0.1.14 Follow0
Configures sysctl parameters
cookbook 'L7-sysctl', '~> 0.1.14', :supermarket
knife supermarket install L7-sysctl
knife supermarket download L7-sysctl
L7-sysctl cookbook
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2016 Gabor Szelcsanyi
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
0.1.14 failed this 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
0.1.14 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.14 failed this 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