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.
node[:sysctl] = A namespace for sysctl settings.
There are two three ways of setting sysctl values:
-
Set chef attributes in the sysctl namespace, E.G.:
default[:sysctl][:vm][:swappiness] = 20
-
Set values in a cookbook_file - 69-chef-static.conf
-
Using the
sysctldefinition inside a cookbooksysctl "What am I doing" do variables 'kernel.sem' => node[:blah][:kernel_sem] end