From: Tom Hughes Date: Tue, 3 May 2016 11:39:29 +0000 (+0100) Subject: Allow replication to fafnir X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/572914833ca1994317e2e1a4db6017610e8e674b?ds=sidebyside Allow replication to fafnir --- diff --git a/roles/db-master.rb b/roles/db-master.rb index 1a23a91b3..16562fa1b 100644 --- a/roles/db-master.rb +++ b/roles/db-master.rb @@ -12,7 +12,8 @@ default_attributes( :max_wal_senders => "2", :late_authentication_rules => [ { :database => "replication", :user => "replication", :address => "146.179.159.168/32" }, - { :database => "replication", :user => "replication", :address => "146.179.159.170/32" } + { :database => "replication", :user => "replication", :address => "146.179.159.170/32" }, + { :database => "replication", :user => "replication", :address => "10.0.16.4/32" } ] } } @@ -29,7 +30,7 @@ default_attributes( :gid => "postgres", :transfer_logging => false, :hosts_allow => [ - "146.179.159.168", "146.179.159.170" + "146.179.159.168", "146.179.159.170, 10.0.16.4" ] } }