X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/104e0e172a9c39875e9e85e687c6fd2e8610a75a..9a44b9d826f560fef64b54924313e8e8b589ef5a:/roles/thorn-01.rb?ds=sidebyside diff --git a/roles/thorn-01.rb b/roles/thorn-01.rb index 134e662e0..5e40db358 100644 --- a/roles/thorn-01.rb +++ b/roles/thorn-01.rb @@ -5,20 +5,28 @@ default_attributes( :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "bond0", :role => :internal, :family => :inet, - :address => "146.179.159.165" + :address => "10.0.48.51", + :bond => { + :slaves => %w[eth0 eth1] + } } } }, - :web => { - :readonly_database_host => "db-slave" + :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[hp-g5]", + "role[equinix]", "role[web-backend]" )