Browse Source

Merge branch 'feature-sysctl' into 'master'

Linux sysctl kernel parameters

sysctl kernel

See merge request !13
tags/2016.12
Jakub Pavlik 9 years ago
parent
commit
116d627368
2 changed files with 21 additions and 0 deletions
  1. +12
    -0
      README.rst
  2. +9
    -0
      linux/system/kernel.sls

+ 12
- 0
README.rst View File

headers: true headers: true
version: 4.2.0-22 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 Repositories
~~~~~~~~~~~~ ~~~~~~~~~~~~



+ 9
- 0
linux/system/kernel.sls View File



{%- endif %} {%- 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 %}


{%- endif %} {%- endif %}

Loading…
Cancel
Save