X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/241ee68cb6004da45299a4528774e801d04ff85a..a2cc61fc04a3f25bd5bb5d64ffa5fceca252c4a3:/roles/katla.rb?ds=sidebyside diff --git a/roles/katla.rb b/roles/katla.rb index 54b62f706..1e471b040 100644 --- a/roles/katla.rb +++ b/roles/katla.rb @@ -2,8 +2,11 @@ name "katla" description "Master role applied to katla" default_attributes( + :apt => { + :sources => ["postgresql"] + }, :db => { - :cluster => "9.1/main" + :cluster => "9.5/main" }, :devices => { :store_slow => { @@ -50,11 +53,13 @@ default_attributes( :networking => { :interfaces => { :internal_ipv4 => { - :interface => "eth0", + :interface => "bond0", :role => :internal, :family => :inet, - :address => "146.179.159.173", - :hwaddress => "00:25:90:94:91:00" + :address => "10.0.32.40", + :bond => { + :slaves => %w[eth0 eth1] + } } } }, @@ -77,9 +82,9 @@ default_attributes( } } } -); +) run_list( - "role[ic]", + "role[bytemark]", "role[db-slave]" )