cookbook 'sysctl_d', '~> 0.1.4'
sysctl_d (1) Versions 0.1.4 Follow0
Configures sysctl.d files
cookbook 'sysctl_d', '~> 0.1.4', :supermarket
knife supermarket install sysctl_d
knife supermarket 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
FC085: Resource using new_resource.updated_by_last_action to converge resource: sysctl_d/providers/default.rb:14
FC085: Resource using new_resource.updated_by_last_action to converge resource: sysctl_d/providers/default.rb:25
FC121: Cookbook depends on cookbook made obsolete by Chef 14: sysctl_d/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.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
FC085: Resource using new_resource.updated_by_last_action to converge resource: sysctl_d/providers/default.rb:14
FC085: Resource using new_resource.updated_by_last_action to converge resource: sysctl_d/providers/default.rb:25
FC121: Cookbook depends on cookbook made obsolete by Chef 14: sysctl_d/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.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
FC085: Resource using new_resource.updated_by_last_action to converge resource: sysctl_d/providers/default.rb:14
FC085: Resource using new_resource.updated_by_last_action to converge resource: sysctl_d/providers/default.rb:25
FC121: Cookbook depends on cookbook made obsolete by Chef 14: sysctl_d/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 include a tag that matches this cookbook version number