X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..94c82143038ad02b0d0b7f8607d0b432c4831fe2:/roles/thorn-03.rb diff --git a/roles/thorn-03.rb b/roles/thorn-03.rb index da838574e..954abeec3 100644 --- a/roles/thorn-03.rb +++ b/roles/thorn-03.rb @@ -5,16 +5,28 @@ default_attributes( :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "bond0", :role => :internal, :family => :inet, - :address => "146.179.159.167" + :address => "10.0.48.53", + :bond => { + :slaves => %w[eth0 eth1] + } + } + } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { + "net.ipv6.conf.eth0.autoconf" => "0", + "net.ipv6.conf.eth0.accept_ra" => "0" } } } ) run_list( - "role[ic]", + "role[equinix]", "role[web-backend]" )