salt.states.sysctl

Configuration of the Linux kernel using sysctrl.

Control the kernel sysctl system

vm.swappines:
  sysctl.present:
    - value: 20

Members

present

salt.states.sysctl.present(name, value, config='/etc/sysctl.conf')

Ensure that the named sysctl value is set

name
The name of the sysctl value to edit
value
The sysctl value to apply
config
The location of the sysctl configuration file

Parent topic

Table Of Contents

Previous topic

salt.states.ssh_known_hosts

Next topic

salt.states.user