]> git.openstreetmap.org Git - chef.git/commitdiff
Allow replication connections from eddie
authorTom Hughes <tom@compton.nu>
Thu, 21 Sep 2017 18:38:50 +0000 (19:38 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 21 Sep 2017 18:39:16 +0000 (19:39 +0100)
roles/db-master.rb

index 89659c7ad6bcb69f0e43fd82a1f5b93b688f746c..eaaca0a4957fc29c8f94472b8c4d0dd3d9817ef9 100644 (file)
@@ -13,6 +13,7 @@ default_attributes(
         :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 => "10.0.0.10/32" },
           { :database => "replication", :user => "replication", :address => "10.0.32.40/32" }
         ]
       }
@@ -30,7 +31,7 @@ default_attributes(
         :gid => "postgres",
         :transfer_logging => false,
         :hosts_allow => [
-          "146.179.159.168", "146.179.159.170, 10.0.32.40"
+          "146.179.159.168", "146.179.159.170, 10.0.0.10, 10.0.32.40"
         ]
       }
     }