X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/af91c7a3d1ddecbbfdc31f85f980a09bcc333d78..539dbe9f74466a7ec90ea7cbfb9bc8b49911551d:/roles/kessie.rb?ds=sidebyside diff --git a/roles/kessie.rb b/roles/kessie.rb index 264120b4b..941e9b2b2 100644 --- a/roles/kessie.rb +++ b/roles/kessie.rb @@ -2,6 +2,24 @@ 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 => { + :temp6 => { :warning => "71.0", :critical => "76.0" }, + :temp7 => { :warning => "71.0", :critical => "76.0" }, + :temp8 => { :warning => "71.0", :critical => "76.0" }, + :temp9 => { :warning => "71.0", :critical => "76.0" } + } + } + }, :networking => { :interfaces => { :external_ipv4 => {