Module for viewing and modifying sysctl parameters
Assign a single sysctl parameter for this minion
The name of the sysctl value to edit.
The sysctl value to apply.
CLI Example:
salt '*' sysctl.assign net.inet.icmp.icmplim 50
Return a single sysctl parameter for this minion
The name of the sysctl value to display.
CLI Example:
salt '*' sysctl.get hw.physmem
Assign and persist a simple sysctl parameter for this minion
The name of the sysctl value to edit.
The sysctl value to apply.
The location of the sysctl configuration file.
Default is False; Default behavior only creates or edits the sysctl.conf file. If apply is set to True, the changes are applied to the system.
CLI Example:
salt '*' sysctl.persist net.inet.icmp.icmplim 50
salt '*' sysctl.persist coretemp_load NO config=/etc/sysctl.conf
Return a list of sysctl parameters for this minion
instead of the live data.
CLI Example:
salt '*' sysctl.show