X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/86a0892bcf27888e4b28d1e3ce98dda42042c636..8d4bc9baedbfb47cc7230173bf5c25376f3c38b0:/roles/ramoth.rb diff --git a/roles/ramoth.rb b/roles/ramoth.rb index 21c75a339..9f75e9f43 100644 --- a/roles/ramoth.rb +++ b/roles/ramoth.rb @@ -2,15 +2,18 @@ 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 => { :comment => "RAID array mounted on /store/postgresql/openstreetmap", :type => "block", :bus => "scsi", - :serial => "3600605b0039483a017092ecbe862082a", + :serial => "3600605b00599aa401c02b4f53bf5c805", :attrs => { "queue/scheduler" => "deadline", "queue/nr_requests" => "975" @@ -43,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] + } } } }, @@ -73,6 +78,6 @@ default_attributes( ) run_list( - "role[ic]", + "role[equinix]", "role[db-slave]" )