cfbs add kernel-settings-sysctl-conf@1.0.0
Manage the current configuration of /etc/sysctl.conf
while keeping running settings in sync.
Note: This policy currently only ensures that specified settings are present. No statement is made about settings not specified. Thus configuration in the file will remain untouched if the key is not specified in the desired data. For example, if vm.swappiness
is set to 10
in /etc/sysctl.conf and vm.swappiness
is not specified the desired configuration data the existing entry for vm.swappiness
will be left untouched.
cfbs add kernel-settings-sysctl-conf
(Optionally) Specify the fully qualified name of the variable that will hold complete configuration data.
default_kernel_settings_sysctl_conf._desired_conf_data_variable
= data:variables.my_sysctl
Define the complete configuration data desired.
data:variables.my_sysctl
= ={ "vm.swappiness": "10", "fs.protected_hardlinks": "1","fs.protected_symlinks" : "1" }=
This module has no dependencies