From 40060019011c7f568ae39bd0b4aca5064fa9ba85 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 7 Sep 2018 21:53:52 +0100 Subject: [PATCH 1/1] kessie: only swap in emergency --- roles/kessie.rb | 8 ++++++++ 1 file changed, 8 insertions(+) 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 => { -- 2.45.1