X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/4b7aea286bd82cf0c86e92319742c31bad356b8d..b0e42ea229284e21d5d05b2e87153c733efb81d1:/roles/ramoth.rb diff --git a/roles/ramoth.rb b/roles/ramoth.rb index 896d99c6d..9f75e9f43 100644 --- a/roles/ramoth.rb +++ b/roles/ramoth.rb @@ -2,8 +2,11 @@ name "ramoth" description "Master role applied to ramoth" default_attributes( + :apt => { + :sources => ["postgresql"] + }, :db => { - :cluster => "9.1/main" + :cluster => "9.5/main" }, :devices => { :store_openstreetmap => { @@ -28,9 +31,6 @@ default_attributes( } }, :hardware => { - :grub => { - :cmdline => %w(ghes.disable=1) - }, :watchdog => "w83627hf_wdt" }, :munin => { @@ -46,11 +46,13 @@ default_attributes( :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "bond0", :role => :internal, :family => :inet, - :address => "146.179.159.170", - :hwaddress => "00:25:90:4b:05:9a" + :address => "10.0.48.5", + :bond => { + :slaves => %w[eth0 eth1] + } } } }, @@ -76,6 +78,6 @@ default_attributes( ) run_list( - "role[ic]", + "role[equinix]", "role[db-slave]" )