mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2026-08-01 16:14:43 +02:00
Make the formula fully pillar driven/customizable
- split package and param into separate state files - use defaults.yml to specify all configurable options of the formula - setup map.jinja to read in defaults.yml, filter by os_family for Arch, and merge in sysctl:lookup pillar - Updated README
This commit is contained in:
+10
-8
@@ -1,11 +1,13 @@
|
||||
sysctl:
|
||||
lookup:
|
||||
pkg: procps-ng
|
||||
params:
|
||||
fs.file-max:
|
||||
value: 100000
|
||||
config: fs.conf
|
||||
vm.swappiness:
|
||||
value: 20
|
||||
|
||||
|
||||
config:
|
||||
location: '/etc/sysctl.d'
|
||||
params:
|
||||
-
|
||||
name: fs.file-max
|
||||
value: 100000
|
||||
config: fs.conf
|
||||
-
|
||||
name: vm.swappiness
|
||||
value: 20
|
||||
|
||||
Reference in New Issue
Block a user