mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2024-11-27 20:57:49 +01:00
20 lines
506 B
Plaintext
20 lines
506 B
Plaintext
---
|
|
sysctl:
|
|
# override formula-related parameters
|
|
lookup:
|
|
pkg: procps-ng
|
|
config:
|
|
# directory to store config files
|
|
location: '/etc/sysctl.d'
|
|
|
|
# configure kernel state defaults
|
|
params:
|
|
# store 'fs.file-max: 100000' in the specified file
|
|
fs.file-max:
|
|
value: 100000
|
|
# suffixes file name to config:location above
|
|
config: fs.conf
|
|
# store 'vm.swappiness: 20' in salt-chosen file
|
|
# (this is usually 99-salt.conf in sysctl dir)
|
|
vm.swappiness: 20
|