X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/1e462ec67b711d945447b78e3cb93fed1c0155e5..487a005b1708189b2b2dddda3f0a7568b82b23db:/roles/thorn-02.rb diff --git a/roles/thorn-02.rb b/roles/thorn-02.rb index c896b14cb..a3b1efb22 100644 --- a/roles/thorn-02.rb +++ b/roles/thorn-02.rb @@ -5,20 +5,28 @@ default_attributes( :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "bond0", :role => :internal, :family => :inet, - :address => "146.179.159.166" + :address => "10.0.48.52", + :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]" )