sysctl: Manages entries in /etc/sysctl.conf.
Manages entries in /etc/sysctl.conf.
The following properties are available in the sysctl type.
Text to be stored in a comment immediately above the entry. It will be automatically prepended with the name of the setting in order for the provider to know whether it controls the comment or not.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
An alias for 'value'. Maintains interface compatibility with the traditional ParsedFile sysctl provider. If both are set, 'value' will take precedence over 'val'.
Value to change the setting to. Settings with multiple values (such as net.ipv4.tcp_mem) are represented as a single whitespace separated string.
The following parameters are available in the sysctl type.
Valid values: true, false
Whether to apply the value using the sysctl command.
Default value: true
namevar
The name of the setting, e.g. net.ipv4.ip_forward
Valid values: true, false
Persist the value in the on-disk file ($target).
Default value: true
The specific backend to use for this sysctl resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.
Valid values: true, false
If set, do not report an error if the system key does not exist. This is useful for systems that may need to load a kernel module prior to the sysctl values existing.
Default value: false
The file in which to store the settings, defaults to
/etc/sysctl.conf.