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
The name of the sysctl value to edit
The sysctl value to apply
The location of the sysctl configuration file. If not specified, the proper location will be detected based on platform.
Generated on October 28, 2019 at 00:09:45 UTC.
You are viewing docs built from a recent snapshot of the develop branch. Switch to docs for the latest stable release, 2019.2.2.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy