X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/126f4978cf1b5425b34dbf176e0302f95d7a0e43..a8151a769c86a3f482651f2b82c463bab1c0261e:/roles/kessie.rb diff --git a/roles/kessie.rb b/roles/kessie.rb index defd93021..5a3ff94b5 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 => { @@ -15,14 +23,14 @@ default_attributes( :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",