0
0
mirror of https://github.com/saltstack-formulas/sysctl-formula.git synced 2024-11-27 23:07:54 +01:00

Merge pull request #31 from Contegix/20210922_minor_revisions

20210922 minor revisions
This commit is contained in:
Javier Bértoli 2021-09-23 10:36:21 -03:00 committed by GitHub
commit eeca161d5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,19 @@
---
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

View File

@ -1,8 +1,4 @@
---
RedHat:
config:
location: /etc/sysctl.conf
Suse:
pkg: procps
@ -11,7 +7,3 @@ Debian:
Gentoo:
pkg: sys-process/procps
FreeBSD:
config:
location: /etc/sysctl.conf