From 48442fcf664b4779d2dddfc57549f85821d0165e Mon Sep 17 00:00:00 2001 From: Beau Bilyeu Date: Wed, 22 Sep 2021 22:21:00 -0400 Subject: [PATCH 1/2] docs(pillar.example): add more detail --- pillar.example | 8 ++++++++ 1 file changed, 8 insertions(+) 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 From 4a0cc9da99c7813e283ac06f5b2001c2d7bacdd6 Mon Sep 17 00:00:00 2001 From: Beau Bilyeu Date: Wed, 22 Sep 2021 22:23:43 -0400 Subject: [PATCH 2/2] fix(osfamilymap.yml): correcting paths to directory This corrects the paths to point to the directory, not file, as the behavior in `param.sls` assumes a directory. --- sysctl/osfamilymap.yml | 8 -------- 1 file changed, 8 deletions(-) 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