]> git.openstreetmap.org Git - chef.git/commitdiff
Add dublin to database ACLs
authorTom Hughes <tom@compton.nu>
Wed, 17 Nov 2021 11:14:30 +0000 (11:14 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 17 Nov 2021 11:14:30 +0000 (11:14 +0000)
roles/db-master.rb
roles/db.rb

index 2e943228fb4368013967c014e0140df132342885..8539ff452987dfd6baf83dccf8689147386a8c00 100644 (file)
@@ -11,12 +11,13 @@ default_attributes(
         :max_wal_senders => "4",
         :max_replication_slots => "1",
         :late_authentication_rules => [
-          { :database => "replication", :user => "replication", :address => "10.0.48.49/32" },
-          { :database => "replication", :user => "replication", :address => "10.0.48.50/32" },
-          { :database => "replication", :user => "replication", :address => "10.0.48.5/32" },
-          { :database => "replication", :user => "replication", :address => "10.0.0.4/32" },
-          { :database => "replication", :user => "replication", :address => "10.0.0.10/32" },
-          { :database => "replication", :user => "replication", :address => "10.0.32.40/32" }
+          { :database => "replication", :user => "replication", :address => "10.0.0.4/32" },   # snap-02
+          { :database => "replication", :user => "replication", :address => "10.0.0.10/32" },  # eddie
+          { :database => "replication", :user => "replication", :address => "10.0.32.40/32" }, # katla
+          { :database => "replication", :user => "replication", :address => "10.0.48.5/32" },  # ramoth
+          { :database => "replication", :user => "replication", :address => "10.0.48.49/32" }, # snap-01
+          { :database => "replication", :user => "replication", :address => "10.0.48.50/32" }, # karm
+          { :database => "replication", :user => "replication", :address => "10.0.64.50/32" }  # snap-03
         ]
       }
     }
index bb567e240c2aedfd6a8170d1bc022482ef863aad..dbcf4baa6b0f5c47cf0c22d4a88b160d6b642623 100644 (file)
@@ -51,7 +51,8 @@ default_attributes(
         :log_min_duration_statement => "1000",
         :late_authentication_rules => [
           { :address => "10.0.32.0/20" },
-          { :address => "10.0.48.0/20" }
+          { :address => "10.0.48.0/20" },
+          { :address => "10.0.64.0/20" }
         ]
       }
     }