cookbook 'sysctl_d', '~> 0.1.4', :supermarket
sysctl_d (1) Versions 0.1.4 Follow0
Configures sysctl.d files
cookbook 'sysctl_d', '~> 0.1.4'
knife cookbook site install sysctl_d
knife cookbook site download sysctl_d
Sysctl.d Cookbook
This cookbook contains LWRP to manage files under /etc/sysctl.d
Requirements
cookbooks
sysctl
- sysctl.d needs sysctl to notify procps service
Usage
LWRP Examples
sysctl_d "90-postgresql" do
params "kernel.shmmax" => (node["memory"]["total"].to_i * 1024 * 0.80).to_i,
"kernel.shmall" => (node["memory"]["total"].to_i * 1024 * 0.80 / 4096).to_i,
"vm.swappiness" => 0
end
sysctl_d "90-postgresql" do
action :remove
end
License and Authors
Authors: Lev Popov
Dependent cookbooks
sysctl >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
sysctl.d CHANGELOG
0.1.4
- Lev Popov - Fixing issue with include_recipe in a LWRP cookbook
0.1.3
- Lev Popov - Update description
0.1.2
- Lev Popov - List supported OS
0.1.1
- Lev Popov - Fix foodcritic warnings
0.1.0
- Lev Popov - Initial release of sysctl.d
Collaborator Number Metric
0.1.4 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.4 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.4 failed this metric
FC064: Ensure issues_url is set in metadata: sysctl_d/metadata.rb:1
FC065: Ensure source_url is set in metadata: sysctl_d/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sysctl_d/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sysctl_d/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.4 failed this metric
sysctl_d does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.4 passed this metric
Publish Metric
0.1.4 passed this metric
Supported Platforms Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 failed this metric
0.1.4 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.4 failed this metric
FC064: Ensure issues_url is set in metadata: sysctl_d/metadata.rb:1
FC065: Ensure source_url is set in metadata: sysctl_d/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sysctl_d/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sysctl_d/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.4 failed this metric
sysctl_d does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.4 passed this metric
Publish Metric
0.1.4 passed this metric
Supported Platforms Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 failed this metric
FC065: Ensure source_url is set in metadata: sysctl_d/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sysctl_d/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sysctl_d/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.4 failed this metric
sysctl_d does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.4 passed this metric
Publish Metric
0.1.4 passed this metric
Supported Platforms Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 passed this metric
0.1.4 passed this metric
Supported Platforms Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 passed this metric
0.1.4 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.4 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.4 failed this metric