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

sysctl_d (1) Versions 0.1.4

Configures sysctl.d files

Policyfile
Berkshelf
Knife
cookbook 'sysctl_d', '~> 0.1.4', :supermarket
cookbook 'sysctl_d', '~> 0.1.4'
knife supermarket install sysctl_d
knife supermarket download sysctl_d
README
Dependencies
Changelog
Quality 17%

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