X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2c3bb4b02302a37e1c14e045833feb71b5a3130d..9926f6cf33e0e2d1fdbf7cfefd0ced11a2b60296:/roles/karm.rb diff --git a/roles/karm.rb b/roles/karm.rb index 8f0ce7a23..675a210cf 100644 --- a/roles/karm.rb +++ b/roles/karm.rb @@ -2,12 +2,6 @@ name "karm" description "Master role applied to karm" default_attributes( - :apt => { - :sources => ["postgresql"] - }, - :db => { - :cluster => "9.5/main" - }, :networking => { :interfaces => { :internal_ipv4 => { @@ -16,7 +10,10 @@ default_attributes( :family => :inet, :address => "10.0.48.50", :bond => { - :slaves => %w[enp1s0f0 enp1s0f1] + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[enp1s0f0 enp1s0f1 enp2s0f0 enp2s0f1] } } } @@ -45,7 +42,6 @@ default_attributes( ) run_list( - "role[equinix]", - "role[db-master]", - "role[db-backup]" + "role[equinix-ams]", + "role[db-slave]" )