mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2024-11-27 23:07:54 +01:00
cb2822f0f4
This commit allows users to specify sysctl parameters in an easier format than the one that was used before. It moves settings out of the 'lookup' pillar namespace in a backward compatible manner and is modelled after the old 'params2' approach. It also introduces a simplified scheme, in which parameters can be specified as key-value pairs, which makes for cleaner pillars if there is no need to specify a custom configuration file.
11 lines
172 B
Plaintext
11 lines
172 B
Plaintext
sysctl:
|
|
lookup:
|
|
pkg: procps-ng
|
|
config:
|
|
location: '/etc/sysctl.d'
|
|
params:
|
|
fs.file-max:
|
|
value: 100000
|
|
config: fs.conf
|
|
vm.swappiness: 20
|