From: Grant Slater Date: Fri, 7 Sep 2018 20:53:52 +0000 (+0100) Subject: kessie: only swap in emergency X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/40060019011c7f568ae39bd0b4aca5064fa9ba85 kessie: only swap in emergency --- diff --git a/roles/kessie.rb b/roles/kessie.rb index defd93021..941e9b2b2 100644 --- a/roles/kessie.rb +++ b/roles/kessie.rb @@ -2,6 +2,14 @@ name "kessie" description "Master role applied to kessie" default_attributes( + :sysctl => { + :swappiness => { + :comment => "Only swap in an emergency", + :parameters => { + "vm.swappiness" => "1" + } + } + }, :munin => { :plugins => { :sensors_temp => {