# salt.states.sysctl

## Configuration of the Linux kernel using sysctrl.

Control the kernel sysctl system

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

`salt.states.sysctl.` `present`(name, value, config=None)

  Ensure that the named sysctl value is set in memory and persisted to the named configuration file. The default sysctl configuration file is /etc/sysctl.conf

  name
    The name of the sysctl value to edit
  value
    The sysctl value to apply
  config
    The location of the sysctl configuration file. If not specified, the proper location will be detected based on platform.

Current Salt release: 0.17.1

### Table Of Contents

- salt.states.sysctl
  - Configuration of the Linux kernel using sysctrl.

#### Previous topic

salt.states.svn

#### Next topic

salt.states.timezone

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd