diff --git a/pillar.example b/pillar.example index f519b91..8082680 100644 --- a/pillar.example +++ b/pillar.example @@ -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 diff --git a/sysctl/osfamilymap.yml b/sysctl/osfamilymap.yml index 8f22984..4eb0f7d 100644 --- a/sysctl/osfamilymap.yml +++ b/sysctl/osfamilymap.yml @@ -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