Set sysctl values from Chef!
node = A namespace for sysctl settings.
There are two 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