X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1df558b53ab02c29d6c365d59b8778cbb7f7ecd6..4f0f38cd66197af4a7b0a77b059b4fac4ddc5108:/roles/kessie.rb diff --git a/roles/kessie.rb b/roles/kessie.rb index 0bddd4c39..5a3ff94b5 100644 --- a/roles/kessie.rb +++ b/roles/kessie.rb @@ -2,17 +2,35 @@ 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 => { - :interface => "em1", + :interface => "enp2s0f0", :role => :external, :family => :inet, :address => "178.250.74.36", :hwaddress => "d8:d3:85:5d:87:5e" }, :external_ipv6 => { - :interface => "em1", + :interface => "enp2s0f0", :role => :external, :family => :inet6, :address => "2a02:1658:4:0:dad3:85ff:fe5d:875e", @@ -25,6 +43,5 @@ default_attributes( run_list( "role[exonetric]", "role[hp-dl180-g6]", -# "role[imagery]" - "role[wiki]" + "role[imagery]" )