Displaying 1 result from an estimated 1 matches for "sysctl_conf".
2008 Oct 08
10
Puppet Augeas Plugin
...f by changing the value if necessary or appending
the key/value if it doesn''t exist in the file. This seems like a common
scenario. However, the following example does not add
net.ipv4.tcp_max_syn_backlog if it doesn''t already exist in sysctl.conf.
class sysctl {
file { "sysctl_conf":
name => $operatingsystem ? {
default => "/etc/sysctl.conf"
},
}
config { "net.ipv4.tcp_max_syn_backlog": ensure => 4096 }
exec { "sysctl -p":
alias => "sysctl",
refreshonly => true,
subscribe => File[&...