X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/83e55d95c3f7111636e1591095457b766238586d..f44e376c1c70ffc59ff4a411e132553ffc1a0503:/roles/kessie.rb?ds=inline diff --git a/roles/kessie.rb b/roles/kessie.rb index 0c69ec7ed..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 => { @@ -10,6 +28,13 @@ default_attributes( :family => :inet, :address => "178.250.74.36", :hwaddress => "d8:d3:85:5d:87:5e" + }, + :external_ipv6 => { + :interface => "em1", + :role => :external, + :family => :inet6, + :address => "2a02:1658:4:0:dad3:85ff:fe5d:875e", + :hwaddress => "d8:d3:85:5d:87:5e" } } } @@ -17,5 +42,6 @@ default_attributes( run_list( "role[exonetric]", - "role[hp-dl180-g6]" + "role[hp-dl180-g6]", + "role[imagery]" )