1CDIST-TYPE__SYSCTL(7) cdist CDIST-TYPE__SYSCTL(7)
2
3
4
6 cdist-type__sysctl - manage sysctl settings
7
9 Manages permanent as well as runtime sysctl settings. Permament set‐
10 tings are set by managing entries in /etc/sysctl.conf. Runtime set‐
11 tings are set by directly calling the sysctl executable.
12
14 value The value to set for the given key (object_id)
15
17 __sysctl net.ipv4.ip_forward --value 1
18
19 # On some operating systems, e.g. NetBSD, to prevent an error if the
20 # MIB style name does not exist (e.g. optional kernel components),
21 # name and value can be separated by `?=`. The same effect can be achieved
22 # in cdist by appending a `?` to the key:
23
24 __sysctl ddb.onpanic? --value -1
25
27 Steven Armstrong <steven-cdist--@--armstrong.cc>
28
30 Copyright (C) 2014 Steven Armstrong. Free use of this software is
31 granted under the terms of the GNU General Public License version 3 or
32 later (GPLv3+).
33
35 ungleich GmbH 2021
36
37
38
39
406.9.8 Aug 24, 2021 CDIST-TYPE__SYSCTL(7)