]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nominatim-master.rb
nominatim: increase allowable wal senders
[chef.git] / roles / nominatim-master.rb
index 0fa0326771f7ba0983e932cc3dc482fea2edd905..d787716cc0f05f28c979ab711c2c02d9161bb317 100644 (file)
@@ -6,11 +6,10 @@ default_attributes(
     :versions => ["9.3"],
     :settings => {
       :defaults => {
     :versions => ["9.3"],
     :settings => {
       :defaults => {
-        :listen_addresses => "*",
         :wal_level => "hot_standby",
         :archive_mode => "on",
         :archive_command => "/bin/cp %p /data/postgresql-archive/%f",
         :wal_level => "hot_standby",
         :archive_mode => "on",
         :archive_command => "/bin/cp %p /data/postgresql-archive/%f",
-        :max_wal_senders => "1",
+        :max_wal_senders => "5",
         :late_authentication_rules => [
           { :database => "replication", :user => "replication", :address => "146.179.159.164/32" }
         ]
         :late_authentication_rules => [
           { :database => "replication", :user => "replication", :address => "146.179.159.164/32" }
         ]
@@ -40,5 +39,6 @@ default_attributes(
 )
 
 run_list(
 )
 
 run_list(
-  "role[nominatim]"
+  "role[nominatim]",
+  "recipe[rsyncd]"
 )
 )