Skip to content

jbyck/chef-sysctl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION:

Set sysctl values from Chef!

This is a fork of the sysctl cookbook from avishai combined with the work of damm for ease of use.

REQUIREMENTS:

ATTRIBUTES:

node[:sysctl] = A namespace for sysctl settings.

USAGE:

There are two three ways of setting sysctl values:

  1. Set chef attributes in the sysctl namespace, E.G.:

    default[:sysctl][:vm][:swappiness] = 20

  2. Set values in a cookbook_file - 69-chef-static.conf

  3. Using the sysctl definition inside a cookbook

    sysctl "What am I doing" do variables 'kernel.sem' => node[:blah][:kernel_sem] end

About

A cookbook to manage the /etc/sysctl.conf file

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%