itamae/cookbooks/base/kernel.rb

14 lines
263 B
Ruby
Raw Permalink Normal View History

2019-03-03 08:50:49 +00:00
STORAGE = '/etc/sysctl.d'
[
"#{STORAGE}/90-vm-swappiness.conf",
"#{STORAGE}/90-vfs-cache-pressure.conf",
"#{STORAGE}/90-conntrack-tcp-timeout-time-wait.conf"
2019-03-03 08:50:49 +00:00
].each do |conf|
remote_file conf do
owner 'root'
group 'root'
mode '644'
end
end