mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2025-02-13 04:21:21 +01:00
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.
16 lines
260 B
YAML
16 lines
260 B
YAML
# -*- coding: utf-8 -*-
|
|
# vim: ft=yaml
|
|
sysctl:
|
|
pkg: procps-ng
|
|
config:
|
|
location: '/etc/sysctl.d'
|
|
lookup:
|
|
params:
|
|
-
|
|
name: fs.file-max
|
|
value: 100000
|
|
config: fs.conf
|
|
-
|
|
name: vm.swappiness
|
|
value: 20
|