Linux sysctl kernel parameters sysctl kernel See merge request !13tags/2016.12
@@ -161,6 +161,18 @@ not present. Also install extra modules and headers for this kernel: | |||
headers: true | |||
version: 4.2.0-22 | |||
Systcl kernel parameters | |||
.. code-block:: yaml | |||
linux: | |||
system: | |||
kernel: | |||
sysctl: | |||
net.ipv4.tcp_keepalive_intvl: 3 | |||
net.ipv4.tcp_keepalive_time: 30 | |||
net.ipv4.tcp_keepalive_probes: 8 | |||
Repositories | |||
~~~~~~~~~~~~ | |||
@@ -40,6 +40,15 @@ linux_kernel_package: | |||
{%- endif %} | |||
{%- for sysclt_name, sysctl_value in sytem.kernel.get('sysctl', {}).iteritems() %} | |||
linux_kernel_{{ sysclt_name }} | |||
sysctl.present: | |||
- name: {{ sysclt_name }} | |||
- value: {{ sysctl_value }} | |||
{%- endfor %} | |||
{%- endif %} | |||
{%- endif %} |