X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1df558b53ab02c29d6c365d59b8778cbb7f7ecd6..487a005b1708189b2b2dddda3f0a7568b82b23db:/roles/kessie.rb diff --git a/roles/kessie.rb b/roles/kessie.rb index 0bddd4c39..20ebf8445 100644 --- a/roles/kessie.rb +++ b/roles/kessie.rb @@ -2,7 +2,26 @@ 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 => { + :netplan => true, :interfaces => { :external_ipv4 => { :interface => "em1", @@ -25,6 +44,5 @@ default_attributes( run_list( "role[exonetric]", "role[hp-dl180-g6]", -# "role[imagery]" - "role[wiki]" + "role[imagery]" )